wok view apache/stuff/fix-range-CVE-2011-3192.conf @ rev 18507

mozo: update compile rules
author Yuri Pourre <yuripourre@gmail.com>
date Sat Oct 17 13:39:12 2015 -0300 (2015-10-17)
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