It is possible to method to have your PerlAuthenHandler, PerlAuthzHandler, as well as your PerlHandler alter the error document for any request?
Example: Once the user would go to a particular page and will get a mistake, I wish to possess a subroutine choose what error document errors are tossed to.
I believe custom_response() may do what you would like.
It's not possible. I'll make use of a static ErrorDocument pointed in a perl program that is going to do the dynamic content