You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Peter Beardsley <pb...@appropriatesolutions.com> on 2001/10/19 19:53:02 UTC
Location, SetHandler and Aliases in httpd.conf
Hi, sorry if this is slightly OT but I need some help getting my apache config straightened out.
I want to set up Apache so that requests to the document root are handled by mod_perl, but requests to a special images directory are not handled by mod_perl. Currently I have it set up like so:
------------------------------------------------------
Alias /art /usr/local/apache/htdocs/art
<Location />
SetHandler perl-script
PerlHandler MyModule
</Location>
------------------------------------------------------
Apparently Location takes precidence over Alias because it's ignoring my Alias and going to my perl handler.
Does anyone know a way to make it do what I'm trying to do?