Re: [users@httpd] mod_rewrite - Setting Environment Variables

2017-02-04 Thread Nigel Peck
On 04/02/2017 07:40, Eric Covener wrote: Internal redirects, which happen for almost any substitution in htaccess rewritees, cause existing environment variables to be renamed to REDIRECT_$varname. Thanks Eric. - To unsubscrib

Re: [users@httpd] mod_rewrite - Setting Environment Variables

2017-02-04 Thread Eric Covener
On Sat, Feb 4, 2017 at 2:03 AM, Nigel Peck wrote: > What is going on? Am I missing something? Surely an environment variable > should not disappear again on the next iteration. Internal redirects, which happen for almost any substitution in htaccess rewritees, cause existing environment variable

[users@httpd] mod_rewrite - Setting Environment Variables

2017-02-03 Thread Nigel Peck
Hi, I am having trouble with how mod_rewrite handles environment variables that are set with the [E=VAR:VAL] flag for RewriteRule. I am setting an environment variable to prevent a loop. The logs show it is set, and then matched, but then on the subsequent iteration of the rules it is no lon