I have a virtual host configured with a Location block and an Alias like so
Alias /lib "/path/to/lib"
<Directory "/path/to/lib">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Location />
SetHandler perl-script
PerlHandler Plack::Handler::Apache2
PerlSetVar psgi_app /path/to/webapp/app.psgi
</Location>
Seems like the Location block is rendering the Alias directive ineffective. If I comment out the Location block, the Alias /lib works fine, and I can get to the resources in the /lib folder. If I uncomment the Location block, the /lib alias becomes inaccessible, and I get a 404.
What gives?