Page 1 of 1
How to enable mod_rewrite
Posted: Sun Dec 13, 2015 4:55 pm
by protocore
I'm having problems with mod_rewrite but I can't install because it's apache but this is nginx
How can I enable it
Re: How to enable mod_rewrite
Posted: Sun Dec 13, 2015 7:46 pm
by tjebbeke
What vesta do you have? Nginx - Apache or Nginx PHP-fpm?
On Nginx-Apache should it work out of the box.
On Nginx PHP-FPM, it's not possible to work with .htaccess files. You have to change the Nginx config. You can look into the existing templates how it works.
Re: How to enable mod_rewrite
Posted: Mon Dec 14, 2015 4:53 pm
by protocore
How do I change it to Apache instead of nginx
If I change it will mod_rewrite work.
As I need this to work Asaph so I can carry on with a project but I'm willing to change the nginx to Apache
Re: How to enable mod_rewrite
Posted: Mon Dec 14, 2015 6:09 pm
by jimmyeao
Once you have apached installed ;)
Im not sure, but depending on your set up it may be easier to reinstall Vesta on a clean server with the Apache+NGinx
Re: How to enable mod_rewrite
Posted: Mon Dec 14, 2015 7:59 pm
by protocore
jimmyeao wrote:
Once you have apached installed ;)
Im not sure, but depending on your set up it may be easier to reinstall Vesta on a clean server with the Apache+NGinx
Sorted thank you for your help