Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

URL rewriting and CakePHP

RHEL/CentOS related topics
Locked
  • Print view
Advanced search
3 posts • Page 1 of 1
realjumy
Posts: 50
Joined: Sun Jul 06, 2014 12:51 pm

URL rewriting and CakePHP

Post by realjumy » 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.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: URL rewriting and CakePHP

Post by imperio » Sun Jul 06, 2014 7:44 pm

Hi,
I think that problem in your php script
don't change this file /etc/httpd/conf/httpd.conf
all modification you can doing in virtualhost of your web domain
/home/user/conf/web/httpd.conf
Top

erldcrtz
Posts: 73
Joined: Tue Jun 10, 2014 6:16 am

Re: URL rewriting and CakePHP

Post by erldcrtz » Tue Jul 08, 2014 8:59 pm

I had experience with cakePHP before that had a hard time working with nginx + apache configuration

try turning off nginx and just use apache as your stand alone web server..
Top


Locked
  • Print view

3 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password