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 22:08:21 UTC

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

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
>

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

Posted by Lee Fellows <lf...@4lane.com>.
On Wed, 2003-04-09 at 16:08, George Gallen wrote:
> 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)"
> 
> 

> 
> 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 am with you.  Nothing here would seem to explain the 
  difference.  No '206' like in the other entry.


  Try accessing the image directly from both the LAN and WAN.
  Do not go through the scripts.  What do you see?

  View the page source for the page returned from accessing the site
  from the LAN and from the WAN.  What is different?


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

  What does mmenu1 do?  The parameters being passed in are different
  between what the log shows for LAN access and WAN access.  Whether
  this is significant depends upon what the parameters are for?


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