Re: is_intial_req

2005-11-03 Thread Kevin Bosak
Try looking at the url that your handler is called with.  It's likely that since you have a directory with that name and presumably 'index.html' in that directory then mod_dir performs an internal redirect with 'index.html ' appended to the url.On 11/1/05, Martin Moss <[EMAIL PROTECTED]> wrote: I h

RE: is_intial_req

2005-11-02 Thread Gerald Richter
> > Is it possible Embperl does something with the Apache Request > in an earlier Phase of the request? > No, Embperl does step in at the content phase, but never before Gerald ** Virus checked by BB-5000 Mailfilter **

Re: is_intial_req

2005-11-01 Thread Martin Moss
I had a quick look at this and found both my requests to /logout/ and /logout2/ typed into the browser manually, continue to result in the same issue.. Here's the rewrite rules I have on my https proxy that each request comes through.. RewriteRule ^/logout/(.*)$ http://${farm:map_pf}/logout/$1 [P

Re: is_intial_req

2005-11-01 Thread Martin Moss
Hi Micheal.. It's a sticky one, because surely that would definitely mean that the Location would take precedence and the FilesMatch would be secondary... And I am seeing this, my handler does get run first... But it is Never the initial Request... Obviously something is happenning, behind the s

Re: is_intial_req

2005-11-01 Thread Geoffrey Young
> Why is is_initial_req consistently 0 for logout and > consistently 1 for logout2... besides the existing conversation, you need to remember what is_initial_req means - it means that this is the request as it came straight from the browser and wasn't redirected at all. if apache made an interna

Re: is_intial_req

2005-11-01 Thread Michael Peters
Martin Moss wrote: > I'm a little confused. And was wondering if I could > get a sanity check.. > I tried swapping the order of the FilesMatch and the > Location configs in my httpd.conf but this made no > difference... >From reading http://httpd.apache.org/docs/1.3/sections.html, it seems that

Re: is_intial_req

2005-11-01 Thread Martin Moss
yeah you're right, it does, thats what I've been doing. But I'm having to use a rewrite rule to ensure I don't have to go and manually edit the silly amount of hardcoded links to /logout I've inherited with the old code...:-( Just bugs me that I don't understand the details of why.. Marty --- F

Re: is_intial_req

2005-11-01 Thread Frank Wiles
On Tue, 1 Nov 2005 14:54:31 + (GMT) Martin Moss <[EMAIL PROTECTED]> wrote: > 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 locati

Re: is_intial_req

2005-11-01 Thread Martin Moss
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

Re: is_intial_req

2005-11-01 Thread Frank Wiles
On Tue, 1 Nov 2005 14:31:33 + (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->i

is_intial_req

2005-11-01 Thread Martin Moss
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_i