diff --git a/.htaccess b/.htaccess index 9bd3ba5..9027759 100644 --- a/.htaccess +++ b/.htaccess @@ -1,36 +1,5 @@ -# Active la compression GZIP - option Apache - - mod_gzip_on Yes - mod_gzip_dechunk Yes - mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ - mod_gzip_item_include handler ^cgi-script$ - mod_gzip_item_include mime ^text\.* - mod_gzip_item_include mime ^application/x-javascript.* - mod_gzip_item_exclude mime ^image\.* - mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* - - -# Active la compression DEFLATE - option Apache - - AddOutputFilterByType DEFLATE text/plain - AddOutputFilterByType DEFLATE text/html - AddOutputFilterByType DEFLATE text/xml - AddOutputFilterByType DEFLATE text/shtml - AddOutputFilterByType DEFLATE text/css - AddOutputFilterByType DEFLATE application/xml - AddOutputFilterByType DEFLATE application/xhtml+xml - AddOutputFilterByType DEFLATE application/rss+xml - AddOutputFilterByType DEFLATE application/javascript - AddOutputFilterByType DEFLATE application/x-javascript - - -# Bloque l'accès à la liste des fichiers -Options -Indexes - -# Désactive l'option de substitution automatique - - Options -MultiViews - - -# ne pas supprimer la ligne URL rewriting ! -# URL rewriting +# Bloque l'accès aux données et aux log + + Order deny,allow + Deny from all + \ No newline at end of file