Apache: scope for environmental variables

Posted by Anonymous on Server Fault See other posts from Server Fault or by Anonymous
Published on 2014-06-07T13:49:08Z Indexed on 2014/06/07 15:26 UTC
Read the original article Hit count: 154

While there's documentation available on Apache environmental variables, I can not find answer to one important question. Imagine I use rewrite rules to set environmental variable

RewriteRule ... ... [E=something:1]

What is the scope of "something" - global Apache server (this means "something" will be available for other request transactions), this request (means that "something" is only valid for THIS http request (and its related processing - but what's about internal redirects and other internal stuff - are they considered as THIS request, or another one?), and may be set differently within another (concurrent) request?

© Server Fault or respective owner

Related posts about apache-2.2

Related posts about rewrite