You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/08/15 16:09:08 UTC
DO NOT REPLY [Bug 30677] New: -
trailing slash redirects shall affect aliases, too
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30677>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30677
trailing slash redirects shall affect aliases, too
Summary: trailing slash redirects shall affect aliases, too
Product: Apache httpd-2.0
Version: 2.0.50
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Enhancement
Priority: Other
Component: mod_dir
AssignedTo: bugs@httpd.apache.org
ReportedBy: whitewolf_fox@gmx.de
Taken from the "Apache Module mod_dir" Documentation
(http://httpd.apache.org/docs-2.0/mod/mod_dir.html):
#### Start quotation
"A "trailing slash" redirect is issued when the server receives a request for
URL http://servername/foo/dirname where dirname is a directory. Directories
require a trailing slash, so mod_dir issues a redirect to
http://servername/foo/dirname/."
#### Stop quotation
Again, taken from the "Apache Module mod_alias" Documentation
(http://httpd.apache.org/docs-2.0/mod/mod_alias.html):
#### Start quotation
"Note that if you include a trailing / on the url-path then the server will
require a trailing / in order to expand the alias. That is, if you use Alias
/icons/ /usr/local/apache/icons/ then the url /icons will not be aliased."
#### Stop quotation
The only known workarround for this is to define BOTH: An Alias for
/icons
AND
/icons/
But even if you do so, apache tells something like the following when
started/stoped:
[root@machine root]# apachectl start
[Sun Aug 15 16:05:01 2004] [warn] The Alias directive in /etc/httpd/aliases.conf
at line 2 will probably never match because it overlaps an earlier Alias.
That's not very elegant, is it?
It's especially very discontenting, because the allready existing module mod_dir
shall solve exactly that problem, but is ignored for aliases.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org