I think I know this one.
#you might want to do this line, for edification if nothing else
my $list_ref = $r->get_handlers("PerlHandler");
$r->set_handlers('PerlHandler",\&My::Package::handler);
-----Original Message-----
From: Brett Sanger [mailto:brs900@;email1.dss.state.va.us]
Sent: Thursday, November 14, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: redirecting outside the Content handler
I have a few AccessHandlers that I'd like to redirect the user to the
correct page to get access if they don't have it. I tried
ErrorDocuments, but I have multiple layers of authentication, and
ErrorDocuments won't cascade. So I'm looking at switching the
ContentHandler. internal_redirect() won't work, since it only works as
intended inside the content handler. Can I just override the currently
expected ContentHandler? How would I do that?
------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated
recipient(s) named above. If you are not the intended recipient of this message you
are hereby notified that any review, dissemination, distribution or copying of this
message is strictly prohibited. This communication is for information purposes only
and should not be regarded as an offer to sell or as a solicitation of an offer to buy
any financial product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or
error-free. Therefore, we do not represent that this information is complete or
accurate and it should not be relied upon as such. All information is subject to
change without notice.