0001879,0001880: Fixes in htaccess constraints, restricting System Diagnostic view...
[fa-stable.git] / .htaccess
1 # Protect sensitive files.
2 <FilesMatch "\.(inc|po|sh|.*sql|log)$">
3         Order allow,deny
4 </FilesMatch>
5
6 # Disable directory listings.
7 Options -Indexes
8
9 # Set the default index.
10 DirectoryIndex index.php
11
12 # These settings are recommended
13 # Maybe you might have problems
14 # with other scripts that needs
15 # register_globals ON
16 <IfModule mod_php4.c>
17         php_flag magic_quotes_gpc Off
18         php_flag register_globals Off
19         php_flag session.use_trans_sid Off
20 </IfModule>
21 <IfModule mod_php5.c>
22         php_flag magic_quotes_gpc Off
23         php_flag register_globals Off
24         php_flag session.use_trans_sid Off
25 </IfModule>
26
27 #Sometimes neccessary to add those
28 #
29 #AddType application/x-javascript .js
30 #AddType text/css .css