I believe there are issues with CakePHP/mod_rewrite and mod_userdir
(the module which handles the /~username url's). On my Mac OS X machine
I had to disable mod_userdir. But you probably don't have that option
if it isn't your server.

Hope that gives you more info,
- Matthias

keymaster wrote:
Thanks for all your replies.

I did the following. I installed the identical files on another site,
this time with a regular domain name.

eg. www.mydomain.com (as opposed to the site in my post above which was
accessed through the ip)

I got the same error - but, I looked at the server error logs and found
the problem:

in app/webroot there is a .htaccess file which contained the lines
(from the BakeSale project on cakeforge):

php_flag zlib.output_compression On
php_value zlib.output_compression_level 1

These lines were producing the error:

"[alert] [client 99.99.999.999]
/home/myaccount/public_html/app/webroot/.htaccess: Invalid command
'php_flag', perhaps mis-spelled or defined by a module not included in
the server configuration"

So, I commented them out as follows:

#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 1

That did it, cake came up smiling, using nothing but mod_rewrite.

I should note, that although I have no problems anymore on a site with
a regular domain name, there are still problems on the other site
accessed through IP.  I suspect there is still an issue there with
cake...

Thanks for your help.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to