|
VHost tries to use apache docroot images, should not
I have a virtual host setup for documentation.domain.com. The it seems that the website html and js load fine. But the website refers to it's images in ../icons/image.gif (the html are in a /html dir).
I'm getting 404 Forbidden errors. Looking at the apache error log, it's trying to do lookups in /usr/share/apache2/icons, instead of docroot/icons/image.gif. I have no clue why it would do that. All references in this vhost to the docroot are pointing to the right place. docroot/html/foo.html loads fine, but docroot/icons/image.gif does not. All dir permissions are 755, and the files themselves are 644.
Any idea why this vhost is trying to do these lookups in the apache docroot instead of the vhost docroot?
I'm using Apache2 2.0.49, on a Suse 9.1 box.
EDIT
To further clarify, in my error log I see this:
client denied by server configuration: /usr/share/apache2/icons/image.gif
Even though the docroot for the vhost is
/home/vhosts/documentation.domain.com/
And I'm trying to load
/home/vhosts/documentation.domain.com/icons/image.gif
Last edited by belorion; 02-01-2007 at 02:42 PM.
Reason: clarificatoin
|