Categories
Web Serving

Apache – Alias – Location

Apache configuration file

When creating Alias entries remember that they need to be listed in the order longest to shortest

Alias /foo/bar /path/bar
Alias /foo /path/other

compare that to Location which are ordered from shortest to longest

<Location /foo> <Location>
<Location /foo/bar> <Location>