Hey Frank..

I agree, thats why I setup the logout2 control test.
What I don't understand is "why" it is tripping it
out. Surely it would only trip it out if the order of
the httpd.conf filesmatch and location is set one way
around, and then not trip it out if the order is
reversed, not both as I'm seeing...

Would this also mean that once my ContentHandler has
returned OK, and sent Data back to the user and
"finished" as far as I'm concerned, that the Apache
server is then going off and running the old logout
embperl scripts too?

If so, how do I tell apache that I don't wish any more
contentHandlers to be run?

I posted an issue a while back about trying to use
push_handlers and set_handlers... and push_handlers
works, but set_handlers doesn't... never got a
solution, beyond what I'd already tried.. All very
weird..... 

Marty

--- Frank Wiles <[EMAIL PROTECTED]> wrote:

> On Tue, 1 Nov 2005 14:31:33 +0000 (GMT)
> Martin Moss <[EMAIL PROTECTED]> wrote:
> 
> > I'm a little confused. And was wondering if I
> could
> > get a sanity check..
> > 
> > I have a mod perl method handler and at start it
> runs
> > this code
> > 
> > my $is_initial_req = $r->is_initial_req;
> >     my $is_main = $r->is_main;
> >     my $main = $r->main;
> >     my $proxyreq = $r->proxyreq;
> > 
> >     print STDERR
> >
>
Dumper('is_initial_req',$is_initial_req,'is_main',$is_main,'main',
> > $main,'proxyreq',$proxyreq) if $DEBUG;
> > 
> > I am running a system which has embperl installed
> >
> > Why is is_initial_req consistently 0 for logout
> and
> > consistently 1 for logout2...
> > 
> > I tried swapping the order of the FilesMatch and
> the
> > Location configs in my httpd.conf but this made no
> > difference...
> > 
> > So can anybody clear up this mystery for me?
> 
>   I think your FilesMatch is what is tripping you
> up.  As a test,
>   move /logout/ to /logout3/ and see if you then get
> the same results
>   as /logout2/.  
> 
>  ---------------------------------
>    Frank Wiles <[EMAIL PROTECTED]>
>    http://www.wiles.org
>  ---------------------------------
> 
> 



                
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

Reply via email to