It sounds like the .htaccess file in your Cake root dir is not being
recognised. Sorry if you know this already but by default it contains
this code:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

which redirects, for example, a request from the first URL you
mentioned to the 2nd URL you mentioned. This makes your PHP scripts
inaccessible from the web, except by using the standard pretty URLs
for controller actions, or URL that you add through your Router class.

1. Is the .htaccess file there?
2. Are you running Apache or some other web server (.htaccess files
only work on Apache I think)?
3. Open Apache's httpd.conf, find the AllowOverride setting and try
setting it to "AllowOverride All".


On Jun 12, 9:05 pm, Murphy <[EMAIL PROTECTED]> wrote:
> I'm on a fresh install of RC1, with the default directory structure -
> *I haven't touched anything.*
>
> When I go to the site, either locally or on my server, the default
> view fires, but the css isn't connecting. Going to localhost:####/css/
> cake.generic.css gives me a 404. But going to localhost:####/app/
> webroot/css/cake.generic.css shows the file.
>
> Can someone *please* tell me what's going on?

--~--~---------~--~----~------------~-------~--~----~
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