[ale] Apache issue on Debian box

William Oakes wdoakes at wildblue.net
Thu Sep 21 22:38:40 EDT 2006


I don't know how Apache works, but it seems to me that maybe in the
httpd.conf file, the DocumentRoot should be set to */var/www/*.  

Is the Alt image also in the /var/www/images directory? If it is, then my
first statement can be disregarded and I don't know what I am talking about.
Does Apache consider the /usr/share/ directory a default?

Hope this helps.

Regards, Bill..

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Jim
To: ale at ale.org
Seymour
Sent: Thursday, September 21, 2006 8:31 PM
To: Atlanta Linux Enthusiasts
Subject: [ale] Apache issue on Debian box

Perhaps I have missed something in the docs somewhere, but I have not been
able to figure out what is causing the following. I am running Apache 1.3.34
on Debian testing. I get the following in my error logs every time the web
page is accessed:

File does not exist: /usr/share/images/bar11.gif

bar11.gif is in /var/www/images and is referenced in the html document
as: 
<img src="images/bar11.gif" width="500" height="3"
alt="**********" /></p>

The web page loads and displays the alt instead of the gif because apache
can't find it. In the httpd.conf DocumentRoot is set to /var/www

Directory permissions are at 755. What could I be missing?

Thanks,
--
Jim Seymour <bluejay at speedfactory.net>





More information about the Ale mailing list