wok-next view apache/stuff/fix-range-CVE-2011-3192.conf @ rev 21177
rsh: clarify recipe, add overrides
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 19 15:42:59 2019 +0300 (2019-04-19) |
parents | |
children |
line source
1 # From http://thread.gmane.org/gmane.comp.apache.announce/58
2 # Drop the Range header when more than 5 ranges.
3 # CVE-2011-3192
4 SetEnvIf Range (,.*?){5,} bad-range=1
5 RequestHeader unset Range env=bad-range
7 # optional logging.
8 #CustomLog logs/range-CVE-2011-3192.log common env=bad-range