]> granicus.if.org Git - apache/commitdiff
Apache does not tolerate deliberate abuse of open standards
authorRoy T. Fielding <fielding@apache.org>
Sat, 11 Aug 2012 07:51:52 +0000 (07:51 +0000)
committerRoy T. Fielding <fielding@apache.org>
Sat, 11 Aug 2012 07:51:52 +0000 (07:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371878 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/httpd.conf.in

index 1372873e4ac1ef32eba0dada6010f1bbbff7c548..c0767a391df46809973619dc738a4adc4040fcdb 100644 (file)
@@ -409,3 +409,13 @@ Include @rel_sysconfdir@/extra/proxy-html.conf
 SSLRandomSeed startup builtin
 SSLRandomSeed connect builtin
 </IfModule>
+
+# Deal with user agents that deliberately violate open standards
+#
+<IfModule setenvif_module>
+BrowserMatch "MSIE 10.0;" bad_DNT
+</IfModule>
+<IfModule headers_module>
+RequestHeader unset DNT env=bad_DNT
+</IfModule>
+