Add a new RewriteCond Variable with mod_perl in an OutputFiler - possible?

2007-09-27 Thread Torsten Krah
Hi. I've read around the docs but i dont know if its possible or not. Can an perl output filter add a new variable to the current process which can be analyzed by mod_rewrite? Background: My filter does some internal redirects. I want to set a Condition named "ORIGINAL_REQ" to the url of the fi

Re: Add a new RewriteCond Variable with mod_perl in an OutputFiler - possible?

2007-09-30 Thread Philippe M. Chiasson
Torsten Krah wrote: > Hi. > > I've read around the docs but i dont know if its possible or not. > Can an perl output filter add a new variable to the current process which can > be analyzed by mod_rewrite? > > Background: > > My filter does some internal redirects. > I want to set a Condition n

Re: Add a new RewriteCond Variable with mod_perl in an OutputFiler - possible?

2007-10-01 Thread Torsten Krah
Am Montag, 1. Oktober 2007 schrieben Sie: > You can pass this king of data to mod_rewrite with > $r->subprocess_env('name' => 'value') on the mod_perl side and RewriteCond > %{ENV:name} on the mod_rewrite side. > > See > http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_subprocess_en >v