setting up an alias in Apache2 fails when using Plack::Handler::Apache2
This is driving me nuts... not really a Dancer question, but since my only experience with PSGI is via Dancer, here goes. I have the following set-up with Apache2 vhost <VirtualHost *:80> ServerName foo.org ServerAlias www.foo.org DocumentRoot "/Users/punkish/Sites/foo" Alias /lib "/Users/punkish/Sites/lib" <Directory "/Users/punkish/Sites/foo"> AllowOverride None Order allow,deny Allow from all </Directory> <Directory "/Users/punkish/Sites/lib"> AllowOverride None Order allow,deny Allow from all </Directory> <Location /> SetHandler perl-script PerlHandler Plack::Handler::Apache2 PerlSetVar psgi_app /Users/punkish/Sites/foo/app.psgi </Location> ErrorLog "/Users/punkish/Logs/foo.org-error_log" CustomLog "/Users/punkish/Logs/foo.org-access_log" common </VirtualHost> Everything works well, except for the /lib alias. If I have the Location handler calling the app via Plack::Handler::Apache2, http://foo.org/lib or http://foo.org/lib/ both throw a 404. -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science =======================================================================
participants (1)
-
P Kishor