From nobody@hyperreal.com Thu May 1 14:44:51 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id OAA07770; Thu, 1 May 1997 14:44:51 -0700 (PDT) Message-Id: <199705012144.OAA07770@hyperreal.com> Date: Thu, 1 May 1997 14:44:51 -0700 (PDT) From: Allan Lyons Reply-To: admin@cbccts.sk.ca To: apbugs@hyperreal.com Subject: Alias does not work exactly as expected X-Send-Pr-Version: 3.2 >Number: 521 >Category: mod_alias >Synopsis: Alias does not work exactly as expected >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu May 1 14:50:01 1997 >Last-Modified: Wed May 7 12:25:22 PDT 1997 >Originator: admin@cbccts.sk.ca >Organization: >Release: 1.2b10 >Environment: OS Linux 2.0.30 i486 gcc 2.7.2.1 >Description: I am using Alias to give http: access to our locally available ftp archive with the command: Alias /pub/ /home/ftp/pub/ Unfortunately, this will not work if the URL does not have a trailing '/' http://host/pub returns File Not Found http://host/pub/ works as expected. I feel that this is a bug because many users regard the trailing '/' as optional. >How-To-Repeat: Set up Alias command http://host/pub will not work http://host/pub/ does work (remember to clear local cache between tries if using Netscape, etc.) >Fix: Before returning File Not Found, check to see if the addition of a trailing '/' will make it a valid request. %0 >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Fri May 2 15:25:33 PDT 1997 State-Changed-Why: Have you tried: Alias /pub /home/ftp/pub/ ? Dean State-Changed-From-To: analyzed-closed State-Changed-By: dgaudet State-Changed-When: Wed May 7 12:25:21 PDT 1997 State-Changed-Why: The docs have been updated to make it clear that the trailing / on the fakename is significant. Dean >Unformatted: