Good morning all,

I have a couple of perl handlers (AccessHandler and Wrapper) running at the document
root of my mod_perl server.  I need to turn one of those handlers off in a lower
level directory, but keep the other one running.

Here's the relevant text from Apache's config file:

<FilesMatch "\.(htm|html|pl)$">
    PerlFixupHandler Carescout::AccessHandler
</FilesMatch>

<Location />
        SetHandler perl-script
        PerlHandler Carescout::Wrapper
        PerlSendHeader On
        Options ExecCGI
</Location>

I tried setting the PerlHandler back to cgi-script (in the lower-level directory),
but that did not turn the Wrapper handler off:
<Location /www/perl/htdocs/lower_level>
        SetHandler cgi-script
        PerlHandler Carescout::AccessHandler
</Location>

Any suggestions on how to do this?

Thanks,
Chris

Reply via email to