Add fix for the httpoxy vulnerability

Refs https://github.com/cakephp/cakephp/issues/9137#issuecomment-233637635
This commit is contained in:
Marc Würth 2016-07-19 16:23:27 +02:00 committed by GitHub
parent 876b508797
commit 46e8fd1eb7

View file

@ -1,3 +1,9 @@
# Uncomment the following to prevent the httpoxy vulnerability
# See: https://httpoxy.org/
#<IfModule mod_headers.c>
# RequestHeader unset Proxy
#</IfModule>
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d