You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by George Gallen <gg...@slackinc.com> on 2003/04/09 18:00:27 UTC

[users@httpd] referencing without using explicit filenames....

If I attempt to pull this image by:

http://URL/aardvarkhmmm.jpg I get the following:

64.12.96.233 - george [09/Apr/2003:11:48:46 -0400] "GET /aardvarkhmmm.jpg
HTTP/1
.1" 206 12772 "http://URL/adv1.html?PROGRAM=mmenu1&SEL.x=125&SEL.

The image does not show up. 

However, the image DOES exist, but has a length of 77610, NOT 12772.



Here is the weird part.

This page is accessable via two host names, one is via a router and
comes in on a different NIC, the other is on a LAN.

So If from the PC I access "http://localservername/aardvarkhmmm.jpg" I will
  get the image returned without a problem.

But If I access "http://outsideURLname/aardvark.jpg" I will not get the
  image returned.

This only affects images, it does not affect .html/.cgi pages.

My configuration file only knows about the internal name (localservername),
do I need to reference both names?

This has been annoying, trying to track this one down.

What is RETURN CODE 206?

George




Re: [users@httpd] referencing without using explicit filenames....

Posted by Lee Fellows <lf...@4lane.com>.
On Wed, 2003-04-09 at 12:00, George Gallen wrote:
> If I attempt to pull this image by:
> 
> http://URL/aardvarkhmmm.jpg I get the following:
> 
> 64.12.96.233 - george [09/Apr/2003:11:48:46 -0400] "GET
> /aardvarkhmmm.jpg HTTP/1
> .1" 206 12772 "http://URL/adv1.html?PROGRAM=mmenu1&SEL.x=125&SEL.
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  I would be suspicious this is the source of your 'error'.

> What is RETURN CODE 206?

  Partial content served.  The request specified a partial content,
  ie a range of bytes, and that range request was fulfilled.

> 
> George
> 
-- 
Lee Fellows <lf...@4lane.com>


---------------------------------------------------------------------
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