How are you writing your CSS link?

it should be like

<?php echo $html->css('style') ?>

not

<?php echo $html->css('css/style.css') ?>




On Dec 15, 12:23 am, Andreas <i...@andreas-kitzing.com> wrote:
> Hi,
> I just uploaded my baked test application from a local Xampp
> environment to my webserver.
>
> First, I have to say that mod_rewrite works fine on my webserver.
>
> Anyway, now I have some problems with the correct displaying of links,
> css files, js scripts, etc.
>
> If I call my application viawww.myurl.com/cakephp/controller/
> everything works fine. My example css file is correctly included '/
> cakephp/css/style.css'
>
> If I call my application viawww.myurl.com/cakephp/controller/action,
> the links, css files etc. are displayed wrong. My example css file now
> would be included '/cakephp/app/webroot/controller/css/style.css'
>
> What do I have to change?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to