viewing http headers

Matthew Seaman m.seaman at
Tue May 6 14:46:46 PDT 2003

On Tue, May 06, 2003 at 03:17:44PM -0400, Gerard Samuel wrote:
> Im trying to figure out a way to view http headers sent from Apache.
> Im debugging a php application on my server.
> tcpdump doesn't seem to fit the bill.
> Any pointers would be great.  Thanks.

The HEAD and GET programs that come with perl libwww (ports
www/p5-libwww) are invaluable for this sort of debugging:

    % HEAD
    200 OK
    Connection: close
    Date: Tue, 06 May 2003 21:45:10 GMT
    Accept-Ranges: bytes
    ETag: "26f855-8348-3eb7e4dc"
    Server: Apache/1.3.x LaHonda (Unix)
    Content-Length: 33608
    Content-Type: text/html
    Last-Modified: Tue, 06 May 2003 16:37:48 GMT
    Client-Date: Tue, 06 May 2003 21:45:10 GMT
    Client-Response-Num: 1
    X-Pad: avoid browser bug



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list