Exactly
No support for Nginx?
Well unfortunately Nginx does not have a routes configuration file in the site, but only in its system folder and it is for the whole server. So we can't change that from Wappler ....
But if you have better ideas - be my guest
We are already writing rules in htaccess and web.config for iis
I was only teasing, I knew that it would not be possible. I am looking at running Nginx together with Apache so that I can use .htaccess.
nginx and htaccess /rewrite is that really working? I got lots of troubles with plesk and that setupā¦
To make sure that Apache is running alongside Nginx make sure that the PHP uses Apache
and you have selected
Even then, I cannot get .htaccess to be recognised. Am waiting for my host to come back to me.
Ok, thanks - does version 2 of Framework7 still work with the onclicks?
That is the most common setup indeed. Nginx is often used as proxy server. Also when you use Nodejs but indeed also with Apache and php in the back.
It is really easy and automatically setup in control panels like Plesk Onyx - highly recomended for multi sites/ accounts / larger web hosting
Easy to set-up on WHM also:
It is possible that Apache is not configured to allow overrides from .htaccess file. Seems to be the default for 2.3.9 and later.
http://httpd.apache.org/docs/2.4/mod/core.html#allowoverride
Thank you @George, @Dave and @patrick, I really appreciate your inputs.
My head is spinning around at the moment, but given the information, I should be able to find a solution. Iāll start a new topic as soon as I have it working.
Reverted toFramework 7 version 2 and onclick works
No problem Ben. Engintron is so easy to set-up, even with CloudFlare. Can be done in five minutes. Really does make it painless if you are using WHM and have root access to run the install script. If you have any issues (you shouldnāt) please give me a shout if you need to.
Five minutes never existed in IT work
We always invoice for the first hour
I'm not sure what you mean. When you refer to the 'routing you already have', do you mean it's already possible to use .htaccess to rewrite URLs which will work with Wappler? I've tried, but it doesn't seem to work - except for simple rewrites where there are no parameters. Also, what do you mean by 'it is advisable to use them just for client side stuff'? I appreciate that routing is required for SPA's - and I imagine it applies similarly to standard sites too (but I'm not sure why it doesn't work already).
I'm quite happy to wait until the new feature is released and I discover the answers then. I'm sure things will become clearer then.
Not true any more! Forget I said this
Routing is now fully implemented in Wappler 1.9.0
For explanation see: