Adam Prime wrote:
Jan-Aage Frydenbø-Bruvoll wrote:
Example:

<Location />
  SetHandler perl-script
  PerlResponseHandler myreponsehandler
  PerlAccessHandler myaccesshandler
</Location>

<Location /nohandler>
  SetHandler default-handler
  # how to disable the PerlAccessHandler?
</Location>

As you can see I've found how to disable/re-set the response handler, but the Access handler is still active. Any tips, please?


I believe you can do something like:

PerlAccessHandler "sub {return Apache2::Const::DECLINED;}"

Adam

You may even be able to simplify that to

PerlAccessHandler Apache2::Const::DECLINED

(I'm curious, does it work ?)

Reply via email to