Received: (from majordom@localhost) by hyperreal.com (8.8.5/8.8.5) id OAA09749; Thu, 1 May 1997 14:50:04 -0700 (PDT) Received: (from gnats@localhost) by hyperreal.com (8.8.5/8.8.5) id OAA09735; Thu, 1 May 1997 14:50:01 -0700 (PDT) Date: Thu, 1 May 1997 14:50:01 -0700 (PDT) Message-Id: <199705012150.OAA09735@hyperreal.com> From: Allan Lyons Reply-To: Allan Lyons To: apache-bugdb@apache.org Cc: apache-bugdb@apache.org Subject: mod_alias/521: Alias does not work exactly as expected In-Reply-To: Your message of Thu, 1 May 1997 14:44:51 -0700 (PDT) <199705012144.OAA07770@hyperreal.com> Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 521 >Category: mod_alias >Synopsis: Alias does not work exactly as expected >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache (Apache HTTP Project) >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu May 1 14:50:01 1997 >Originator: admin@cbccts.sk.ca >Organization: apache >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: >Unformatted: