You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Robert L. Perkins" <bp...@rlpconsulting.com> on 2004/07/20 22:56:51 UTC

[users@httpd] Problems loading image files

My apache2 server keeps giving me "file not found" errors for my jpeg and
gif image files.  I look in the log files for the names of the files not
being found and the files are there with the same permissions and the html
documents that are being displayed.

Are there restrictions on image files that can be loaded.  The HTML book I'm
using says I can use the tag <IMG SRC="/images/logo.gif"> but as I said the
log file says the file does not exist and it does.

I've been through my apache2 book and google and can find no answer to my
problem

I'm running on SuSE 9.0.  Any help is appreciated.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Problems loading image files

Posted by "Robert L. Perkins" <bp...@rlpconsulting.com>.
Thanks, a missing quote and case sensitive matching.



-----Original Message-----
From: Joshua Slive [mailto:jslive@gmail.com]
Sent: Tuesday, July 20, 2004 7:01 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Problems loading image files


On Tue, 20 Jul 2004 17:16:42 -0500, Robert L. Perkins
<bp...@rlpconsulting.com> wrote:
>
> The messages in my log file are:
>
> [Tue Jul 20 16:43:01 2004] [error] [client 192.168.0.1] File does not
exist:
> /srv/www/vhosts/rlp/www/htdocs/images/logo.gif width=, referer:
> http://www.rlpconsulting.com/

That is an html error -- probably an unclosed quote.  Your html
probably looks something like <img src="images/logo.gif width=30 ...>

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problems loading image files

Posted by Joshua Slive <js...@gmail.com>.
On Tue, 20 Jul 2004 17:16:42 -0500, Robert L. Perkins
<bp...@rlpconsulting.com> wrote:
> 
> The messages in my log file are:
> 
> [Tue Jul 20 16:43:01 2004] [error] [client 192.168.0.1] File does not exist:
> /srv/www/vhosts/rlp/www/htdocs/images/logo.gif width=, referer:
> http://www.rlpconsulting.com/

That is an html error -- probably an unclosed quote.  Your html
probably looks something like <img src="images/logo.gif width=30 ...>

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Problems loading image files

Posted by "Robert L. Perkins" <bp...@rlpconsulting.com>.
The messages in my log file are:

[Tue Jul 20 16:43:01 2004] [error] [client 192.168.0.1] File does not exist:
/srv/www/vhosts/rlp/www/htdocs/images/logo.gif width=, referer:
http://www.rlpconsulting.com/
[Tue Jul 20 17:11:57 2004] [error] [client 192.168.0.1] File does not exist:
/srv/www/vhosts/rlp/www/htdocs/images/logo.gif width=, referer:
http://www.rlpconsulting.com/
[Tue Jul 20 17:12:38 2004] [error] [client 192.168.0.1] File does not exist:
/srv/www/vhosts/rlp/www/htdocs/images/stanislous.jpg

I can retrieve them if I request them as you have suggested.

Thanks for your help


-----Original Message-----
From: Joshua Slive [mailto:jslive@gmail.com]
Sent: Tuesday, July 20, 2004 4:51 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Problems loading image files


On Tue, 20 Jul 2004 15:56:51 -0500, Robert L. Perkins
<bp...@rlpconsulting.com> wrote:
> My apache2 server keeps giving me "file not found" errors for my jpeg and
> gif image files.  I look in the log files for the names of the files not
> being found and the files are there with the same permissions and the html
> documents that are being displayed.
>
> Are there restrictions on image files that can be loaded.  The HTML book
I'm
> using says I can use the tag <IMG SRC="/images/logo.gif"> but as I said
the
> log file says the file does not exist and it does.

If you request http://yourhost.example.com/images/logo.gif to you get
the picture?  Show us the exact entry from the error and access logs.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problems loading image files

Posted by Joshua Slive <js...@gmail.com>.
On Tue, 20 Jul 2004 15:56:51 -0500, Robert L. Perkins
<bp...@rlpconsulting.com> wrote:
> My apache2 server keeps giving me "file not found" errors for my jpeg and
> gif image files.  I look in the log files for the names of the files not
> being found and the files are there with the same permissions and the html
> documents that are being displayed.
> 
> Are there restrictions on image files that can be loaded.  The HTML book I'm
> using says I can use the tag <IMG SRC="/images/logo.gif"> but as I said the
> log file says the file does not exist and it does.

If you request http://yourhost.example.com/images/logo.gif to you get
the picture?  Show us the exact entry from the error and access logs.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org