From owner-freebsd-questions@FreeBSD.ORG Tue May 6 14:46:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8672F37B401 for ; Tue, 6 May 2003 14:46:46 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8C8243FBF for ; Tue, 6 May 2003 14:46:44 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h46Lkdw0006526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 May 2003 22:46:39 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h46LkdPD006525; Tue, 6 May 2003 22:46:39 +0100 (BST) (envelope-from matthew) Date: Tue, 6 May 2003 22:46:39 +0100 From: Matthew Seaman To: Gerard Samuel Message-ID: <20030506214639.GA6306@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Gerard Samuel , freebsd-questions@freebsd.org References: <3EB80A58.4070703@trini0.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <3EB80A58.4070703@trini0.org> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: freebsd-questions@freebsd.org Subject: Re: viewing http headers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 21:46:46 -0000 --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--