From owner-freebsd-ports Wed Nov 21 16:50: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A344237B417 for ; Wed, 21 Nov 2001 16:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAM0o1427501; Wed, 21 Nov 2001 16:50:01 -0800 (PST) (envelope-from gnats) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 737AC37B41A for ; Wed, 21 Nov 2001 16:46:59 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 31BA72B775 for ; Thu, 22 Nov 2001 01:46:55 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 1F88C7A; Thu, 22 Nov 2001 11:46:48 +1100 (EST) Message-Id: <20011122004648.1F88C7A@k7.mavetju.org> Date: Thu, 22 Nov 2001 11:46:48 +1100 (EST) From: Edwin Groothuis Reply-To: Edwin Groothuis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32177: port-survey HTTP result 302 handling Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32177 >Category: ports >Synopsis: port-survey HTTP result 302 handling >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 21 16:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.4-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Sat Nov 10 21:31:47 EST 2001 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386 >Description: On my website I have a renamed a couple of pages and adjusted the error 404 script to redirect to the new page: [~] edwin@k7>telnet www.mavetju.org 80 Trying 213.46.9.168... Connected to p6.mavetju.org. Escape character is '^]'. GET /unix/general.phtml HTTP/1.0 Host: www.mavetju.org HTTP/1.0 302 Moved Temporarily Date: Thu, 22 Nov 2001 00:42:10 GMT Server: Apache/1.3.22 (Unix) Debian/GNU PHP/4.1.0RC1 X-Powered-By: PHP/4.1.0RC1 Location: /unix/general.php Content-Type: text/html; charset=iso-8859-1 In the log-files I then see: cache4.ihug.com.au - - [22/Nov/2001:01:41:38 +0100] "GET /unix/general.phtml HTTP/1.0" 302 0 cache3.ihug.com.au - - [22/Nov/2001:01:41:43 +0100] "GET /unix/general.php HTTP/1.0" 200 2025 This morning I saw freefall.freebsd.org query the page which is in a couple of ports: freefall.freebsd.org - - [22/Nov/2001:01:02:43 +0100] "HEAD /unix/general.phtml HTTP/1.0" 302 0 "-" "Portsurvey/0.2 libwww-perl/5.50" 1 www.mavetju.org freefall.freebsd.org - - [22/Nov/2001:01:02:43 +0100] "HEAD //unix//unix/general.php HTTP/1.0" 404 0 "-" "Portsurvey/0.2 libwww-perl/5.50" 0 www.mavetju.org It got a redirection, but requested the wrong file. I don't know if this is a problem in libwww-perl/5.50 or in Portsurvey/0.2. >How-To-Repeat: See above. >Fix: Should come from the maintainer of Portsurvey to start with. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message