Hello everyone,
I am trying to install a Cake application on a server. It was
developed on my PC and worked fine with the standard distribution - no
changes to .htaccess or directory structure.
Now I have copied the whole cake directory into the www directory on
my server.
Problem is that the CSS and JS included files are not loaded. I have
checked in the source html and here is an example of what is in there:
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="/css/cake.generic.css" /
>
...
<form action="/home.9/f/a/m/familyge/www/cake/familygenda/webroot/
users/login" method="post">
And here is what is in the source produced my development PC - where
it works fine:
<link rel="icon" href="/cake/familygenda/favicon.ico" type="image/x-
icon" />
<link rel="shortcut icon" href="/cake/familygenda/favicon.ico"
type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="/cake/familygenda/css/
cake.generic.css" />
...
<form action="/cake/familygenda/users/login" method="post">
As you can see the path is not correctly set by the Html helper on the
production server for CSS, Image and Form.
Apart from that, the page is displayed and it seems that mod_rewrite
works fine.
Thanks for your help!
Owki
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---