« Return to Thread: Mac OS developper setup

Re: Mac OS developper setup

by zeugme :: Rate this Message:

Reply to Author | View in Thread


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

 « Return to Thread: Mac OS developper setup