Apache conditional configuration
Posted
by pontus.enmark
on Server Fault
See other posts from Server Fault
or by pontus.enmark
Published on 2010-04-29T14:41:58Z
Indexed on
2010/04/29
14:47 UTC
Read the original article
Hit count: 325
apache
|configuration
Is it possible to dynamically include/exclude blocks somehow using env variables or the like? Something in the lines of
<LocationMatch ...>
SetEnvIf X-Requested-With XmlHttpRequest xhr
<If xhr>
SSLVerifyClient none
</If>
<If !xhr>
SSLVerifyClient optional
</If>
</LocationMatch>
© Server Fault or respective owner