I have an authentication handler that cleverly starts like:
sub handler {
my $r = shift;
return OK unless $r->is_initial_req;
My server has *.epl files using (and I have been happy)
PerlHandler Apache::EmbperlFilter Apache::SSI
I now authenticate 2 directories with .htaccess and my handler):
/protect1/file.epl
/protect2/other.html
where "/protect1/file.epl" has the line:
<!--#flastmod virtual="/protect2/other.html" -->
THe error I am getting is:
[error] Can't locate object method "is_initial_req" via package "Apache::AUTHtest"
at ...
Now if I change the main file to "file.shtml" (pulling the embperl stuff)
everything works and no error. I would be content to do
if ($r is not correct request object) { return OK }
I.e. am happy to not authenticate these SSI tests. But can't figure out
what the $r being passed is or what is wrong??
Suggestions and/or help welcome. THanks,
Bob Waldstein [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]