[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / .htaccess
index c80aa26e7548e5c169d024ebce63009d06837e49..27e55548b09db271335cff27c39af8d8f09c4f4a 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
@@ -12,7 +25,6 @@
        php_flag register_globals Off
        php_flag session.use_trans_sid Off
 </IfModule>
-
 #Sometimes neccessary to add those
 #
 #AddType application/x-javascript .js