Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 22:46:39 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Gerard Samuel <gsam@trini0.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: viewing http headers
Message-ID:  <20030506214639.GA6306@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <3EB80A58.4070703@trini0.org>
References:  <3EB80A58.4070703@trini0.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 http://www.freebsd.org/
    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-Peer: 216.136.204.117:80
    Client-Response-Num: 1
    X-Pad: avoid browser bug

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+uC0/dtESqEQa7a0RAidPAJ4zmUKB5kcN5j4o+p+FDwk2jSRK4gCfQ/kY
PhNJRbETmSHwD9LqUPHYbHs=
=6ntm
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030506214639.GA6306>