XAMPP has allowoverride all installed by default and all you need to
do is add the RewriteBse line to the .htaccess file of the root of
your cake as is below:


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

This is actually written in the manual here:
http://manual.cakephp.org/chapter/installing
See the second last point in Section 5.

On Oct 15, 5:28 am, Comida411 <[EMAIL PROTECTED]> wrote:
> Trying to run cakephp for the first time
>
> 1. Installed xamp.. all good
> 2. installed cake 1.2
> but when runhttp://localhost/cakeI get cake info with no styple
> I am told this is a allowoverride error... so iI set allowoverride to
> all but still not style
> Review of error log shows
>
> [Mon Oct 15 04:05:46 2007] [error] [client 127.0.0.1] File does not
> exist: C:/xampp/htdocs/cake/favicon.ico
> [Mon Oct 15 04:05:46 2007] [error] [client 127.0.0.1] File does not
> exist: C:/xampp/htdocs/cake/css, referer:http://localhost/cake/
> [Mon Oct 15 04:05:46 2007] [error] [client 127.0.0.1] File does not
> exist: C:/xampp/htdocs/cake/img, referer:http://localhost/cake/
>
> I can see that the server cannot find the css, or favicons or img..
> necessary to give my page styple..
> but a search of the cake folder shows that these files are there..
> there are just located a couple of directories lowere then apache is
> looking for them..
>
> What should I do..?
> Thank you
> Comida


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