mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add fix for the httpoxy vulnerability
Refs https://github.com/cakephp/cakephp/issues/9137#issuecomment-233637635
This commit is contained in:
parent
876b508797
commit
46e8fd1eb7
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue