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<http://book.cakephp.org/2.0/en/installation/advanced-installation.html#apache-and-mod-rewrite-and-htaccess>
 2) I don't / can't use URL 
rewriting<http://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration>
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to