Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Torsten Foertsch
On Sun 02 Nov 2008, Puneet Lakhina wrote: > One more question, is it possible for me to ensure that my module/or > essenially mod_perl's processing of the URI translation happens > before mod_rewrite or any other similar modules, and essentially > mod_rewrite's rules work on the URI modified by me.

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Puneet Lakhina
>> Then the documentation is wrong. Yeah I ran it with PerlTransHandler. It works. So the documentation is indeed misleading. Thanks for taking time to give such detailed explanation. One more question, is it possible for me to ensure that my module/or essenially mod_perl's processing of the URI t

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Torsten Foertsch
On Sun 02 Nov 2008, Torsten Foertsch wrote: > On Sun 02 Nov 2008, Puneet Lakhina wrote: > > > Input headers are found in $r->headers_in and are set even before > > > PerlPostReadRequest. So, have a close look at your code. If that > > > doesn't help try to create a test case as simple as you can an

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Torsten Foertsch
On Sun 02 Nov 2008, Puneet Lakhina wrote: > > Input headers are found in $r->headers_in and are set even before > > PerlPostReadRequest. So, have a close look at your code. If that > > doesn't help try to create a test case as simple as you can and > > post it to the list. > > Not as per this: > ht

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Puneet Lakhina
> Input headers are found in $r->headers_in and are set even before > PerlPostReadRequest. So, have a close look at your code. If that > doesn't help try to create a test case as simple as you can and post it > to the list. > Not as per this: http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.h

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Torsten Foertsch
On Sun 02 Nov 2008, Puneet Lakhina wrote: > Initially I thought PerlTransHandler would be the right thing to use. It is. > But as it turns out, the headers arent populated until that phase. Input headers are found in $r->headers_in and are set even before PerlPostReadRequest. So, have a close l

Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Puneet Lakhina
Hi, I am new to mod perl and apache. I am trying to write a URI translation engine which needs to use the cookies set on the client. Additionally I want mod_rewrite and other URI Translational hooks to be invoked once my hook is done. Initially I thought PerlTransHandler would be the right thing