How to enable mod_rewrite
How to enable mod_rewrite
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
How can I enable it
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: How to enable mod_rewrite
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.
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
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
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
Code: Select all
sudo a2enmod rewrite
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
jimmyeao wrote:Once you have apached installed ;)Code: Select all
sudo a2enmod rewrite
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