Re: [us...@httpd] Environment variable problem with mod_rewrite and mod_headers

2009-04-07 Thread Karim Zaki
So all rewrite rules are processed before RequestHeader regardless of their order in the Apache configuration? Why is that the case? Is there somewhere that this behavior is documented. I need to document a justification for this behavior. On 4/6/09 6:49 PM, "Nick Kew" wrote: > Karim Zaki wrote:

Re: [us...@httpd] Environment variable problem with mod_rewrite and mod_headers

2009-04-06 Thread Nick Kew
Karim Zaki wrote: This last rule comes after the RequestHeader is set. No it doesn't. The requestheader is set later than any of the rewriterules. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Ser

[us...@httpd] Environment variable problem with mod_rewrite and mod_headers

2009-04-06 Thread Karim Zaki
Hi all, I¹m experiencing a strange issue with mod_rewrite and mod_headers. Basically, what I¹m doing is setting an environment variable using mod_rewrite and trying to use the value of that variable to set a header in the request using mod_headers. Details: RewriteCond %{HTTP:TEST-HE