summaryrefslogtreecommitdiff
path: root/docs/conf
diff options
context:
space:
mode:
authorRoy T. Fielding <fielding@apache.org>2012-08-11 07:51:52 +0000
committerRoy T. Fielding <fielding@apache.org>2012-08-11 07:51:52 +0000
commitad8644d93c9e0455a63b43aeebefbc1987bbc204 (patch)
tree3975107fe3db9e47515dba9ef88bd48438338666 /docs/conf
parentbad7c65296a0547373dd2258cad2514a50e5b027 (diff)
downloadhttpd-ad8644d93c9e0455a63b43aeebefbc1987bbc204.tar.gz
Apache does not tolerate deliberate abuse of open standards
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371878 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/conf')
-rw-r--r--docs/conf/httpd.conf.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in
index 1372873e4a..c0767a391d 100644
--- a/docs/conf/httpd.conf.in
+++ b/docs/conf/httpd.conf.in
@@ -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>
+