Problem solved. Here is how :
Beware of the Finder. This application hide hidden file :-)
So, I unziped the cake distrib via zipeg or the zip utility, no problem.
Then, using the Finder, I copy/past all files in my web folder.
All files ? No, not all files. That was the problem.
There is a root .htaccess file that had not been part of the copy/past,
thanks to the Finder.
cp -R is your friend.
Thanks to all !
zeugme wrote:
> OK, I'm totally blocked on that issue now. Is it or not a mod_rewrite
> issue ?
>
> Here more details :
> If I try that URL in the browser
>
http://localhost/app/webroot/js/jquery-1.2.2.pack.js> it works fine, I got the javascript.
>
>
http://localhost/js/jquery-1.2.2.pack.js> that one doesn't work but that is the helper's result in my layout ... I
> can see it with a view source.
> of course, nothing is rendered correctly ...
>
> => it's like webroot is not webroot !
>
> I tried to update .htaccess as suggested without changing DocumentRoot,
>
> I also try to move the DocumentRoot (just one or two clicks with MAMP)
> to my web folder.
> This would make the DocumentRoot to be the folder c
> ontaining /app and /cake (others) and also have a index.php is that right ?
>
>
> MonkeyGirl wrote:
>
>>> I created a symlink from MAMP htdocs to my dev web folder.
>>>
>>> I'm not sure but I think I might have a mod_rewrite issue, maybe due to
>>> that MAMP htdocs symlink or apache default config ?
>>>
>>>
>> There's a good chance that using a symlink instead of actually
>> changing httpd.conf's DocumentRoot is causing the issue. Try putting
>> "RewriteBase /" in your .htaccess file just after "RewriteEngine on".
>>
>> Hope that helps,
>> Zoe.
>>
>>
>>
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to
cake-php@...
To unsubscribe from this group, send email to
cake-php-unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en-~----------~----~----~----~------~----~------~--~---