Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 11:46:48 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32177: port-survey HTTP result 302 handling
Message-ID:  <20011122004648.1F88C7A@k7.mavetju.org>

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

>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




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