www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Batie <ba...@agora.rdrop.com>
Subject mod_userdir/960: /~user/ gives error to users of older browsers
Date Sat, 02 Aug 1997 07:40:01 GMT

>Number:         960
>Category:       mod_userdir
>Synopsis:       /~user/ gives error to users of older browsers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Aug  2 00:40:01 1997
>Originator:     batie@agora.rdrop.com
>Organization:
apache
>Release:        1.2.1
>Environment:
FreeBSD agora.rdrop.com 2.1.5-STABLE
gcc version 2.6.3
>Description:
When someone is accessing a /~user/ URL with an older browser that
doesn't include the Host: header in the request, the Alias is ignored
and Apache attempts to look in public_html instead of where the Alias
told it to in srm.conf (verified with ktrace).  If either the Host:
header is present, or /users/user (which is aliased the same way as /~)
is used, it works correctly (I even set ServerName outside of the
virtual host sections, and it made no difference):

Alias /icons/ /var/httpd/icons/
Alias /~ /home/web/
Alias /users/ /home/web/

<agora.rdrop.com> [641] $ telnet agora 80
Trying 199.2.210.241...
Connected to agora.rdrop.com.
Escape character is '^]'.
GET /~jimka/ HTTP/1.0

HTTP/1.1 403 Forbidden
<agora.rdrop.com> [642] $ telnet agora 80
Trying 199.2.210.241...
Connected to agora.rdrop.com.
Escape character is '^]'.
GET /~batie/ HTTP/1.0

HTTP/1.1 404 File Not Found

<agora.rdrop.com> [643] $ telnet agora 80
Trying 199.2.210.241...
Connected to agora.rdrop.com.
Escape character is '^]'.
GET /users/jimka/ HTTP/1.0

HTTP/1.1 200 OK
<agora.rdrop.com> [644] $ telnet agora 80
Trying 199.2.210.241...
Connected to agora.rdrop.com.
Escape character is '^]'.
GET /users/batie/ HTTP/1.0

HTTP/1.1 200 OK
<agora.rdrop.com> [645] $ telnet agora 80
Trying 199.2.210.241...
Connected to agora.rdrop.com.
Escape character is '^]'.
GET /~jimka/ HTTP/1.0
Host: www.rdrop.com

HTTP/1.1 200 OK
>How-To-Repeat:
See full description
>Fix:
Not yet..
>Audit-Trail:
>Unformatted:



Mime
View raw message