1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-18 04:20:50 +01:00

Disabilitato HTTP TRACE

This commit is contained in:
Thomas Zilio 2018-06-21 12:49:09 +02:00
parent 1d1042d8fe
commit b8f83bb211

View File

@ -58,6 +58,10 @@
RewriteRule ^node_modules/ - [F,L] RewriteRule ^node_modules/ - [F,L]
RewriteRule ^vendor/ - [F,L] RewriteRule ^vendor/ - [F,L]
# Disable HTTP TRACE
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
# Prevent hacks # Prevent hacks
# proc/self/environ? no way! # proc/self/environ? no way!
RewriteCond %{QUERY_STRING} proc/self/environ [OR] RewriteCond %{QUERY_STRING} proc/self/environ [OR]