You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Godrej <ja...@yahoo.in> on 2010/07/24 22:17:09 UTC
Gui for viewing Apache responses from a chain of proxy servers
Is there any GUI for viewing Apache headers which are being served by a chain
of Reverse Proxy Servers.
I have a cloud which uses a few Proxy Servers in between the client and actual
server which has to serve the original request.
All servers are Unix Servers.
And if there is a problem which I do not get a clue to then to be able to post
them here
downloading and doing an ftp of those headers with all the logs ,
loging in each time to each proxy server and Opening the browser and exporting
the
X display to some remote server each time from the chain and then observing
HTTP_RESPONSES and checking the request from each of those servers and then
posting log with configuration and response takes at least 2-3 hours to type an
email.
Is there a shorter way to do so?
Re: Gui for viewing Apache responses from a chain of proxy servers
Posted by Mark Thomas <ma...@apache.org>.
On 26/07/2010 00:09, Mark Thomas wrote:
> On 25/07/2010 06:46, James Godrej wrote:
>>
>>
>> From: Mark Thomas <ma...@apache.org>
>> To: Tomcat Users List <us...@tomcat.apache.org>
>>
>> That is what HEAD requests were invented for.
>>
>> I did not get your point.Can you give a link to what you are saying.
>
> http://www.lmgtfy.com/?q=HEAD+request
Sorry. Must have been half asleep when I wrote that. You want a TRACE
request, not a HEAD request.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Gui for viewing Apache responses from a chain of proxy servers
Posted by Mark Thomas <ma...@apache.org>.
On 25/07/2010 06:46, James Godrej wrote:
>
>
> From: Mark Thomas <ma...@apache.org>
> To: Tomcat Users List <us...@tomcat.apache.org>
>
> That is what HEAD requests were invented for.
>
> I did not get your point.Can you give a link to what you are saying.
http://www.lmgtfy.com/?q=HEAD+request
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Gui for viewing Apache responses from a chain of proxy servers
Posted by James Godrej <ja...@yahoo.in>.
From: Mark Thomas <ma...@apache.org>
To: Tomcat Users List <us...@tomcat.apache.org>
That is what HEAD requests were invented for.
I did not get your point.Can you give a link to what you are saying.
Re: Gui for viewing Apache responses from a chain of proxy servers
Posted by Mark Thomas <ma...@apache.org>.
On 24/07/2010 21:17, James Godrej wrote:
> Is there any GUI for viewing Apache headers which are being served by a chain
> of Reverse Proxy Servers.
> I have a cloud which uses a few Proxy Servers in between the client and actual
> server which has to serve the original request.
> All servers are Unix Servers.
>
>
>
> And if there is a problem which I do not get a clue to then to be able to post
> them here
> downloading and doing an ftp of those headers with all the logs ,
> loging in each time to each proxy server and Opening the browser and exporting
> the
> X display to some remote server each time from the chain and then observing
> HTTP_RESPONSES and checking the request from each of those servers and then
> posting log with configuration and response takes at least 2-3 hours to type an
> email.
>
> Is there a shorter way to do so?
That is what HEAD requests were invented for.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Gui for viewing Apache responses from a chain of proxy servers
Posted by André Warnier <aw...@ice-sa.com>.
James Godrej wrote:
> Is there any GUI for viewing Apache headers which are being served by a chain
> of Reverse Proxy Servers.
> I have a cloud which uses a few Proxy Servers in between the client and actual
> server which has to serve the original request.
> All servers are Unix Servers.
>
>
>
> And if there is a problem which I do not get a clue to then to be able to post
> them here
> downloading and doing an ftp of those headers with all the logs ,
> loging in each time to each proxy server and Opening the browser and exporting
> the
> X display to some remote server each time from the chain and then observing
> HTTP_RESPONSES and checking the request from each of those servers and then
> posting log with configuration and response takes at least 2-3 hours to type an
> email.
>
> Is there a shorter way to do so?
>
>
To pick up where Mark left off :-)
and if I understand you correctly :
A HTTP "HEAD" request (instead of a GET), has the effect that a webserver sends
back a response with only the HTTP headers (not the body) that it would send for a
"normal" response to a GET.
Unfortunately, browsers do not make it easy to send a HEAD request on purpose.
But, assuming you have a direct HTTP access to all the servers in your proxy chain, you
could use a command-line program such as curl, wget or perl's lwp-request, to send your
original URL request to the first proxy, and see what it answers; then to the second
proxy, the 3rd
etc..
Example with perl's lwp-request :
# lwp-request -m HEAD -Sed http://www.google.com
HEAD http://www.google.com --> 302 Found
HEAD http://www.google.de/ --> 200 OK
Cache-Control: private, max-age=0
Connection: close
Date: Sun, 25 Jul 2010 08:35:16 GMT
Server: gws
Content-Type: text/html; charset=ISO-8859-1
Expires: -1
Client-Date: Sun, 25 Jul 2010 08:35:16 GMT
Client-Peer: 74.125.77.99:80
Client-Response-Num: 1
Set-Cookie: PREF=ID=05f051ce99b41b06:TM=1280046916:LM=1280046916:S=zKP9CgLj8JoZIou0;
expires=Tue, 24-Jul-2012 08:35:16 GMT; path=/; domain=.google.de
Set-Cookie:
NID=37=Ns3-pP0OPF1CYOjqI8upA3kH3yCQEypjAAUWCAN_RhFEumUk-sTqLleFTVVE5K0RxjGbbQ19171gPtNMK8LBxyQkCUmGv5wdfIhQrda3Mp1cjNQovwp6KC-6xhnjr066;
expires=Mon, 24-Jan-2011 08:35:16 GMT; path=/; domain=.google.de; HttpOnly
X-XSS-Protection: 1; mode=block
lwp-request comes as a standard utility with perl.
For help, use
lwp-request -h
curl, wget and other similar tools have comparable capabilities.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org