On Tue, Oct 6, 2009 at 12:57 PM, Jimbo2150 <[email protected]> wrote:
>
> I set up my laptop so that I can access or edit files and view it on
> the browser through my LAN (Apache is on my desktop computer). When I
> loaded the pages in the browser on the laptop, I notice that CSS and
> Images are linked incorrectly. It writes 2 root paths. Eg. Where ever
> there was an $html->css() or $html->image() call it should have
> output:
>
> /rootPath/webroot/css/..
> and
> /rootPath/webroot/img/...
>
> Instead, I get:
>
> /rootPath/rootPath/webroot/css/...
> and
> /rootPath/rootPath/webroot/img/...
>
> What is going on?
>

It actually should be "/img/..." & "/css/...". Do you have mod_rewrite
loaded and set up correctly? On the desktop, how are you accessing the
site?

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