projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bank account auto-selection in Customer Payments (continued).
[fa-stable.git]
/
.htaccess
diff --git
a/.htaccess
b/.htaccess
index de47e678e2ea8a40abe56ff6725addb1d3cf162e..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
# These settings are recommended
# Maybe you might have problems
# with other scripts that needs
@@
-5,12
+18,13
@@
<IfModule mod_php4.c>
php_flag magic_quotes_gpc Off
php_flag register_globals Off
<IfModule mod_php4.c>
php_flag magic_quotes_gpc Off
php_flag register_globals Off
+ php_flag session.use_trans_sid Off
</IfModule>
<IfModule mod_php5.c>
php_flag magic_quotes_gpc Off
php_flag register_globals Off
</IfModule>
<IfModule mod_php5.c>
php_flag magic_quotes_gpc Off
php_flag register_globals Off
+ php_flag session.use_trans_sid Off
</IfModule>
</IfModule>
-
#Sometimes neccessary to add those
#
#AddType application/x-javascript .js
#Sometimes neccessary to add those
#
#AddType application/x-javascript .js