page, and only some of my images are showing up.
It seems like all of CakePHP's images (things like cake.power.gif)
work fine, everything that I have loaded in through CSS work fine (and
will show up fine with the Html Image helper) but all my other images
don't load properly.
I suspect that I might be running into an Apache mod_rewrite issue,
even though the CakePHP default page didn't say anything was wrong. I
have this suspicion because:
1. When I look at the page source for the image that doesn't load,
and click on the link to check what the image is, I get a 403 error.
2. I needed to muddle around with my CSS URLs in the first place to
get any of the images to load, and so instead of being able to write
"url(/img/logo.png)" I need to write "url(../img/logo.png)".
From my httpd.conf file:
<Directory "/var/www/html/mysite">
Options FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
From the 403 error:
<p>You don't have permission to access /mysite/app/webroot/img/
logo.jpg
on this server.</p>
All of my images belong to the apache user (both the ones that appear
to work and the ones that don't) and have the same permissions (0644).
If anybody has ideas for where I should be looking to fix this, please
let me know. Thanks!
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment