Added tag unstable_2.3.13 for changeset 180d185518cf
[fa-stable.git] / .htaccess
index c80aa26e7548e5c169d024ebce63009d06837e49..cad8d65d5f9619ca575cf62979288af8a28540ce 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,16 @@
+# Protect sensitive files.
+<FilesMatch "\.(inc|po|sh|.*sql|log)$">
+       Order allow,deny
+       Deny from All
+       Satisfy All
+</FilesMatch>
+
+# Disable directory listings.
+Options -Indexes
+
+# Set the default index.
+DirectoryIndex index.php
+
 # These settings are recommended
 # Maybe you might have problems
 # with other scripts that needs