Hello,

I apologize for such a trivial question, but I'd like to use a function
other than "handler" as a perl handler. According to the doc, it was
possible in mod_perl 1, but I can't manage to get it to work under mod_perl
2.


Here is an example of my code:

file Authen.pm

> sub handler {
>   // regular handling
> }
>
> sub special {
>   // special case
> }

file httpd.conf

> <Location /perl/>
>    PerlAuthenHandler  /lib/Authen
> </Location>

> <Location /perl/special-case/>
>   # I want to override the regular case by using "special" instead of
"handler" in /lib/Authen.pm
> </Location>

Thanks in advance,
Cédric Bertolini

Reply via email to