httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54307] New: Alias/AliasMatch does'n/does fold/match multiple slashes
Date Sat, 15 Dec 2012 17:33:51 GMT

            Bug ID: 54307
           Summary: Alias/AliasMatch does'n/does fold/match multiple
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Documentation
    Classification: Unclassified


Marking this as major, as it quite changes the behaviour of Alias/AliasMatch.

This is similar to what's already correctly documented at the <Location>
directive in the “Note about / (slash)” box there

The Alias directive apparently implicitly folds/matches any number of
_consecutive_ slashes (/).
Alias /foo/bar /some/file
will apply to e.g. URIs:

As with Location vs. LocationMatch, this seems to be _NOT_ the case for
AliasMatch, thus e.g.:
AliasMatch "^/foo/bar$" /some/file
will apply to  URIs:
but _not_ to:

I think this needs to be documented in both directives, Alias and AliasMatch,
similar as it is done as with Location/LocationMatch.


(*) Interestingly it _DOES_ fold/match such URIs where there are only multiple
leading slashes, so.e.g.:
AliasMatch "^/foo/bar$" /some/file
will apply to  URIs:

I consider this rather a functioal bug and will report it as a separate bug. If
that is not accepted a functional bug, that strange special behaviour should be
documented, too.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message