/var/log/laghttpheaders#

Found on the Linux Access Gateway, decodes http headers of requests/responses on all channels

How To Enable#

LAG - need to make sure /etc/laglogs.conf file includes. /etc/init.d/novell-vmc must be restarted after this for changes to take effect.
LOG_LEVEL=7
DEBUG_HTTP_HEADERS=1
DEBUG_SOAP_MESSAGES=0
The DEBUG_HTTP_HEADERS=1 must be present to enable Laghttpheaders. Setting this to DEBUG_HTTP_HEADERS=0 turns off Laghttpheaders.

Then execute:

  
/etc/init.d/novell-vmc restart
as this service must be restarted after this for changes to take effect.

Example #

Sending request to webserver for browser request '98'
-------------------------------------------------------------------------
GET /images/classifieds/quicksearch/poweredByLoadzaJobs.png HTTP/1.1
Host: www.unison.ie
Referer: http://www.unison.ie/
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Cookie: Unison_User=83.141.112.214.109131171028663164;
Via: 1.1 www.mylag.com (Access Gateway 3.0.0-83)
Headers received from webserver for request '98'
------------------------------------------------------------------
Date: Fri, 26 Jan 2008 14:54:15 GMT
Server: Apache/1.3.34 (Debian) PHP/4.4.2-1.1 mod_perl/1.29
Last-Modified: Mon, 22 Jan 2007 11:23:29 GMT
ETag: "848730a-78c-45b49eb1"
Accept-Ranges: bytes
Content-Length: 1932
Content-Type: image/png

More Information#

There might be more information for this subject on one of the following:

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 17-May-2012 19:20 by jim