From apwww@hyperreal.org Sat Aug 2 00:38:27 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id AAA10577; Sat, 2 Aug 1997 00:38:27 -0700 (PDT) Message-Id: <199708020738.AAA10577@hyperreal.org> Date: Sat, 2 Aug 1997 00:38:27 -0700 (PDT) From: Alan Batie Reply-To: batie@agora.rdrop.com To: apbugs@hyperreal.org Subject: /~user/ gives error to users of older browsers X-Send-Pr-Version: 3.2 >Number: 960 >Category: mod_userdir >Synopsis: /~user/ gives error to users of older browsers >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Aug 2 00:40:01 1997 >Last-Modified: Fri Oct 31 20:25:02 PST 1997 >Originator: batie@agora.rdrop.com >Organization: >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/ [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 [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 [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 [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 [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: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Sat Aug 2 12:50:06 PDT 1997 State-Changed-Why: Are the Alias settings inside any VirtualHost section? Are there any settings inside any VirutalHost section that could impact this? Try cutting it down to the minimal config necessary to reproduce the problem. I can not do so here. What does the error log say for connections that you think should work but don't? What do you have UserDir set to? Did you try disabling it? State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Fri Oct 31 20:25:02 PST 1997 State-Changed-Why: No followup from user, assuming resolved. >Unformatted: