URL rewriting and CakePHP
Posted: Sun Jul 06, 2014 1:07 pm
Hi everyone.
I'm using VestaCP since a month ago or so.
Everything is working fine by far, but I have an issue with URL rewriting.
My server has Centos 6.5 x64, and I'm using the last version of VestaCP. I modified /etc/httpd/conf/httpd.conf to allow reand when I use phpinfo() I can see that mod_rewrite module is being used. However, configuring CakePHP I have this error: "URL rewriting is not properly configured on your server. 1) Help me configure it 2) I don't / can't use URL rewriting". I followed the instructions in those links but the issue persists.
Do you think that is something I missed? I can read everywhere that for installing mod_rewrite I should do "sudo a2enmod rewrite", but I don't want to install anything to avoid conflicts with VestaCP...
If that is not a problem maybe is something I need to configure in nginx?
Thanks.
I'm using VestaCP since a month ago or so.
Everything is working fine by far, but I have an issue with URL rewriting.
My server has Centos 6.5 x64, and I'm using the last version of VestaCP. I modified /etc/httpd/conf/httpd.conf to allow reand when I use phpinfo() I can see that mod_rewrite module is being used. However, configuring CakePHP I have this error: "URL rewriting is not properly configured on your server. 1) Help me configure it 2) I don't / can't use URL rewriting". I followed the instructions in those links but the issue persists.
Do you think that is something I missed? I can read everywhere that for installing mod_rewrite I should do "sudo a2enmod rewrite", but I don't want to install anything to avoid conflicts with VestaCP...
If that is not a problem maybe is something I need to configure in nginx?
Thanks.