>Number:         483
>Category:       config
>Synopsis:       Does not understand links to directories
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Apr 25 04:40:01 1997
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2b8+ssl1.4
>Environment:
Linux-2.0.30, libc-5.4.26, gcc-2.7.2.1,netscape 3.01
>Description:
Requests for directories are only honoured when ending with a slash!
>How-To-Repeat:
Here is an example telnet-session:


reif (remus) 41: telnet jfh00.fernuni-hagen.de 80
Trying 132.176.7.6 ...
Connected to jfh00.fernuni-hagen.de.
Escape character is '^]'.
GET /neu HTTP/1.0

HTTP/1.1 301 Moved Permanently
Date: Fri, 25 Apr 1997 10:39:50 GMT
Server: Apache/1.2b8 Ben-SSL/1.4
Location: %s//httpjfh00.fernuni-hagen.de/neu/
          !!!!
Connection: close
Content-Type: text/html

<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A 
HREF="%s//httpjfh00.fernuni-hagen.de/neu/">here</A>.<P>
</BODY></HTML>
Connection closed by foreign host.

Now comes what works:

jfh00:jfh<~,13:32:33>telnet jfh00 80
Trying 132.176.7.6...
Connected to jfh00.fernuni-hagen.de.
Escape character is '^]'.
GET /neu/ HTTP/1.0

HTTP/1.1 200 OK
Date: Fri, 25 Apr 1997 11:32:56 GMT
Server: Apache/1.2b8 Ben-SSL/1.4
Connection: close
Content-Type: text/html

<HTML><HEAD>
<TITLE>Index of /neu</TITLE>
</HEAD><BODY>
<H1>Index of /neu</H1>
<UL><LI> <A HREF="/"> Parent Directory</A>
<LI> <A HREF="hallo"> hallo</A>
</UL></BODY></HTML>
Connection closed by foreign host.     
>Fix:
n
>Audit-Trail:
>Unformatted:


Reply via email to