httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fenderbosch, Eric" <Eric.Fenderbo...@fedex.com>
Subject RE: [users@httpd] Referrer Behind Proxy
Date Tue, 07 Oct 2003 17:30:30 GMT
Which server?  The proxy or the app server?  I also verified that we aren't using a proxy from
Weblogic or a different 3rd party proxy.

Public URL:
http://customcritical.fedex.com/rates/ZipQuote.jsp
Although I'm not sure what you will see...

I used "Live HTTP Header" Mozilla extension to capture this from my browser.
Basically, I started at our home page, then navigated to the "Rates" application, then entered
2 zip codes and finally hit "Get rates".

http://customcritical.fedex.com/

GET / HTTP/1.1
Host: customcritical.fedex.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla
Firebird/0.6.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: fdx_cbid=21587235931065547136520560051050; JSESSIONID=1C3YPTGUprRsq8IHjIayrV2VZHQ0uolZ8jhOCfMszMy1c1rhbVWM!2031307440!-1407926138!7001!7002

HTTP/1.x 200 OK
Date: Tue, 07 Oct 2003 18:40:11 GMT
Server: Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6b
Accept-Ranges: bytes
Content-Length: 29086
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=ISO-8859-1
----------------------------------------------------------
http://customcritical.fedex.com/rates

GET /rates HTTP/1.1
Host: customcritical.fedex.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla
Firebird/0.6.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://customcritical.fedex.com/
Cookie: fdx_cbid=21587235931065547136520560051050; JSESSIONID=1C3YPTGUprRsq8IHjIayrV2VZHQ0uolZ8jhOCfMszMy1c1rhbVWM!2031307440!-1407926138!7001!7002

HTTP/1.x 302 Moved Temporarily
Date: Tue, 07 Oct 2003 18:40:14 GMT
Server: WebLogic WebLogic Server 6.1 SP4  11/08/2002 21:50:43 #221641
Location: http://customcritical.fedex.com/rates/ZipQuote.jsp
Content-Type: text/plain; charset=ISO-8859-1
X-WebLogic-Cluster-List: -692655030!-1407926139!7001!7002|2031307440!-1407926138!7001!7002
X-WebLogic-Cluster-Hash: 73Zk2cCSWAvqpq4M7faWz60tdL8
Transfer-Encoding: chunked
----------------------------------------------------------
http://customcritical.fedex.com/rates/ZipQuote.jsp

GET /rates/ZipQuote.jsp HTTP/1.1
Host: customcritical.fedex.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla
Firebird/0.6.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://customcritical.fedex.com/
Cookie: fdx_cbid=21587235931065547136520560051050; JSESSIONID=1C3YPTGUprRsq8IHjIayrV2VZHQ0uolZ8jhOCfMszMy1c1rhbVWM!2031307440!-1407926138!7001!7002

HTTP/1.x 200 OK
Date: Tue, 07 Oct 2003 18:40:14 GMT
Server: WebLogic WebLogic Server 6.1 SP4  11/08/2002 21:50:43 #221641
Content-Type: text/html; charset=ISO-8859-1
X-WebLogic-Cluster-List: -692655030!-1407926139!7001!7002|2031307440!-1407926138!7001!7002
X-WebLogic-Cluster-Hash: 73Zk2cCSWAvqpq4M7faWz60tdL8
Set-Cookie: JSESSIONID=1C35SVPm60Ej7sArPmINhOcWNYKNMHLpOwqaAHnTnLkQPNVVKtih!-692655030!-1407926139!7001!7002;
path=/
Transfer-Encoding: chunked
----------------------------------------------------------
http://customcritical.fedex.com/rates/ZipQuoteServlet

POST /rates/ZipQuoteServlet HTTP/1.1
Host: customcritical.fedex.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla
Firebird/0.6.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://customcritical.fedex.com/rates/ZipQuote.jsp
Cookie: fdx_cbid=21587235931065547136520560051050; JSESSIONID=1C35SVPm60Ej7sArPmINhOcWNYKNMHLpOwqaAHnTnLkQPNVVKtih!-692655030!-1407926139!7001!7002
Content-Type: application/x-www-form-urlencoded
Content-Length: 84
fromZip=44321&fromCity=&fromState=0&toZip=44256&toCity=&toState=0&getrates=Get+rates
HTTP/1.x 200 OK
Date: Tue, 07 Oct 2003 18:40:19 GMT
Server: WebLogic WebLogic Server 6.1 SP4  11/08/2002 21:50:43 #221641
Content-Type: text/html; charset=ISO-8859-1
X-WebLogic-Cluster-List: -692655030!-1407926139!7001!7002|2031307440!-1407926138!7001!7002
X-WebLogic-Cluster-Hash: 73Zk2cCSWAvqpq4M7faWz60tdL8
Transfer-Encoding: chunked

----------------------------------------------------------

-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca]
Sent: Tuesday, October 07, 2003 13:15
To: users@httpd.apache.org
Subject: RE: [users@httpd] Referrer Behind Proxy



On Tue, 7 Oct 2003, Fenderbosch, Eric wrote:

> Well, the line of code that is giving us the IP of our proxy is this:
> request.getHeader("Referer")
> Where request is an instance of HttpServletRequest.
>
> Unless Weblogic has borked the implementation of that method, or we are
> asking for the wrong header info...

You'll need to actually inspect the request headers that the server is
seeing to tell what is going on.

But if I had to guess at the problem, I'd say it is probably something
simpler.  Could you provide us with a publically-accessible URL which
demonstrates the problem?

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


Mime
View raw message