Wednesday, July 11, 2012

Re: Very ( very ) weird mod_rewrite problem. Please help!

Hi Koray 

Maybe you can look for Apache error log file 
It may help u 




Koray Tugay於 2012年7月11日星期三UTC+8上午3時07分52秒寫道:
Hi,

I have recently installed CakePHP and I am having a very weird problem with mode_rewrite.

Well first I am getting the message as I supposed to when I first install CakePHP.

URL rewriting is not properly configured on your server. 1) Help me configure it 2) I don't / can't use URL rewriting

Ok, no problem, I do all the settings as suggested.
Then I get: Your tmp directory is writable. 

The weird thing starts here.. After like 5 minutes or so, when I reload the page I again get the error ! And there is nothing I have changed!

Well I just change my DocumentRoot from D:\DocumentRoot to C:\DocumentRoot in httpd.conf file, and restart Apache, again success! 
And the weird thing is that this change does not affect my DocumentRoot since I include virtual hosts with:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

and my virtual hosts are:

<VirtualHost *:80>
    DocumentRoot "D:/DocumentRoot/"
    ServerName localhost
ServerName go.go.com
</VirtualHost>

And I just go type localhost on my browser, there it is I am getting cakephp from D:\DocumentRoot ( NOT C:\DocumentRoot but D) and rewrite works just fine..

5 minutes later! Again the warning message.

I change my DocumentRoot from C:\DocumentRoot to D:\DocumentRoot and restart Apache, this time and it works again for 5 more minutes.

Can please someone help me? 

Regards!
 

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate