apache: support SetEnvIf release_20190105-5
authorClinton Ebadi <clinton@unknownlamer.org>
Sun, 6 Jan 2019 02:57:09 +0000 (21:57 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Sun, 6 Jan 2019 02:57:09 +0000 (21:57 -0500)
commit42233a46d8dc0f73d176726d9af605e69035a96c
tree27c5dc4b3869b20dd3e216373c8f92e3f5d92e81
parent066b8ca70877e3a07545a638a96aa59719c4fe60
apache: support SetEnvIf

Trivial SetEnvIf implementation. Attribute is a regex as that is the
maximal syntax accepted for the argument, and the env arguments are
just a list of no_spaces.

This may change to something more like rewriteRule flags, with
additional syntax for each case supported by apache (ENV, !ENV,
ENV=VAL), and stricter syntax checking for the arguments.
lib/mod_setenvif.dtl [new file with mode: 0644]
src/plugins/apache.sml