httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Gallen <ggal...@slackinc.com>
Subject RE: [users@httpd] referencing without using explicit filenames... .
Date Wed, 09 Apr 2003 20:08:21 GMT
Here are the two entries:

>From the LAN:
10.10.200.3 - george [09/Apr/2003:15:51:24 -0400] "GET
/adv1.html?PROGRAM=mmenu1
&SEL.x=143&SEL.y=212 HTTP/1.1" 200 2499
"http://10.10.150.30/cgi-bin/authenticat
e.cgi" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)" 
10.10.200.3 - george [09/Apr/2003:15:51:24 -0400] "GET /aardvarkhmmm.jpg
HTTP/1.
1" 200 77610
"http://10.10.150.30/adv1.html?PROGRAM=mmenu1&SEL.x=143&SEL.y=212"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"

>From the WAN: (internet)
205.188.208.103 - george [09/Apr/2003:15:59:08 -0400] "GET
/adv1.html?PROGRAM=mm
enu1&SEL.x=156&SEL.y=101 HTTP/1.0" 200 2499
"http://external.host.name/cgi-bin/a
uthenticate.cgi" "Mozilla/4.0 (compatible; MSIE 6.0; AOL 8.0; Windows 98)"
152.163.188.36 - george [09/Apr/2003:15:59:10 -0400] "GET /aardvarkhmmm.jpg
HTTP
/1.0" 200 14107 "http://external.host.name/adv1.html" "Mozilla/4.0
(compatible;
MSIE 6.0; AOL 8.0; Windows 98)"


external.host.name isn't actually what is in my logs, I just don't want to
disclose the correct URL.


Here they both return a code 200 for the image, but WAN only sent 14107
bytes
as the LAN sent the correct 77610 bytes. The WAN did not show the image
where
as the LAN did show the image.

I just don't get it.

I don't think one being an AOL browser using HTTP/1.0 vs the other being
IE using HTTP/1.1 has anything to do with it...but you never know.

I don't think it has anything to do withe extraneous info from the referrer.

actually, no images ever work from the WAN side, all images work on the LAN
side.
however, all html/cgi pages work correctly on both sides.



>-----Original Message-----
>From: Lee Fellows [mailto:lfellows@4lane.com]
>Sent: Wednesday, April 09, 2003 2:53 PM
>To: users@httpd.apache.org
>Subject: RE: [users@httpd] referencing without using explicit
>filenames... .
>
>
>On Wed, 2003-04-09 at 14:21, George Gallen wrote:
>> where is the range of bytes specified?
>
>  I would suspect from the mmenu1 program accessed by adv1.html and
>  passed SEL.x=125&SEL.... parameters.
>
>> 
>> The "http://URL/adv1.html?PROGRAM=mmenu1&SEL.x=125&SEL.
>>   is the referrer page?
>
>  yes.
>
>> 
>> I can't control what is after the ? it's the values from
>> within my form.
>> 
>> But I don't understand is why does it work when it's called
>> from within the LAN (using the computer's actual name in the
>> URL), but doesn't work when called using the internet (using
>> the hostname assigned to the firewall/router which routes
>> to the internal name using a 2nd NIC.
>
>  Because they are not proceeding through the same path.  Your example
>  url http://URL/aardvarkhmmm.jpg resulted in this access log entry:
>
>  " 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....." which clearly
>shows a different process is being used to answer the query then when
>you access the picture via the local host name.  If the request
>http://URL/aardvarkhmmm.jpg went straight to the filesystem and
>retrieved the image, it would have worked the same from both urls and
>you would not have a referer entry for that access.
>
>  I have no idea what mmenu1 is, or its purpose, but it appears
>  to be generating the range request.
>
>  HTH
>

Mime
View raw message