You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fi...@apache.org on 2012/08/11 09:51:52 UTC

svn commit: r1371878 - /httpd/httpd/trunk/docs/conf/httpd.conf.in

Author: fielding
Date: Sat Aug 11 07:51:52 2012
New Revision: 1371878

URL: http://svn.apache.org/viewvc?rev=1371878&view=rev
Log:
Apache does not tolerate deliberate abuse of open standards

Modified:
    httpd/httpd/trunk/docs/conf/httpd.conf.in

Modified: httpd/httpd/trunk/docs/conf/httpd.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/httpd.conf.in?rev=1371878&r1=1371877&r2=1371878&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/httpd.conf.in (original)
+++ httpd/httpd/trunk/docs/conf/httpd.conf.in Sat Aug 11 07:51:52 2012
@@ -409,3 +409,13 @@ Include @rel_sysconfdir@/extra/proxy-htm
 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>
+