First, let me say I have CakePHP up and running perfectly on windows
with a wampserver instance running, so I'm familiar with the process.
I know how to get mod_rewrite setup, and set the permissions
appropriately, etc.

So, I just installed Ubuntu server 10.04 / Apache 2 / MySQL / PHP, and
I'm now trying to get CakePHP setup. I've seen plenty of posts
outlining getting setup on Ubuntu, because the debian arrangement of
Apache config files can be confusing to those not familiar with it.
I've used Debian for a long time, so I'm good on that front.

Basically, my problem is the 404 error for cake.generic.css and
cake.power.gif, which everyone says is caused by a mod_rewrite
problem. I have tested mod_rewrite separately and it works fine, so I
know it's running and working.

I've tried the following in my sites-enabled (basically a snippet of
what would be part of httpd.conf on most other systems):


        DocumentRoot /var/www/cakephp
        <Directory />
                Options FollowSymLinks
                AllowOverride All
                allow from all
        </Directory>
        <Directory /var/www/cakephp>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>


I've changed the directories to /var/www; I've recursively changed the
owner of /var/www to www-data and set permissions to 755, and
recursively set 777 to app/tmp.

I'm a bit stumped and have no idea why it's not working. Any thoughts?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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