httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21897] - Alias behavior depends on order
Date Thu, 18 Mar 2004 06:08:41 GMT
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=21897>.
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=21897

Alias behavior depends on order





------- Additional Comments From duke@spacebox.net  2004-03-18 06:08 -------
I agree with André that you can't really rank an AliasMatch, but when it's not 
a match you can - because what you type in either does, or does not, fit the 
configured alias.

The problem I'm having is that in my config I have these two lines:

ScriptAlias   /mailman/       /usr/local/mailman/cgi-bin/
Alias /mailman/icons/ /usr/local/mailman/icons/

The problem is that when I try and access /mailman/icons/ I get a 404 because 
apache has aliased that to /usr/local/mailman/cgi-bin/icons.

It seems to me as though the second line above is being ignored completely, and 
when I refer to /mailman/icons/mailman.jpg, the alias is built 
as /usr/local/mailman/cgi-bin/icons/mailman.jpg.

When apache parses the config, /mailman/ and /mailman/icons/ should be seen as 
two totally different things.  Both matching their respective paths.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message