From 6c820a175f8ef905446e1738f64e7da17d172c6f Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Wed, 20 Dec 2017 19:18:46 +0100 Subject: [PATCH] =?UTF-8?q?Miglioramento=20di=20compatibilit=C3=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Miglioramento di compatibilità dei contenuti .htaccess con l'introduzione dei controlli sulla presenza del modulo Apache relativo prima dell'istruzione. --- .htaccess | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.htaccess b/.htaccess index e730f4ca2..dc74cd1d6 100644 --- a/.htaccess +++ b/.htaccess @@ -1,10 +1,17 @@ # Remove autoindex -IndexIgnore * -## Options -Indexes + + IndexIgnore */* + # Try to set PHP settings -php_value upload_max_filesize 20M -php_value post_max_size 20M + + php_value upload_max_filesize 20M + php_value post_max_size 20M + + + php_value upload_max_filesize 20M + php_value post_max_size 20M + # Deny access to files starting with dot @@ -24,7 +31,7 @@ php_value post_max_size 20M Deny from all -# Disable OSM indexing of php, html, htm, pdf files +# Disable indexing of php, html, htm, pdf files Header set X-Robots-Tag: "noindex"