diff options
-rw-r--r-- | .htaccess | 6 | ||||
-rw-r--r-- | program/.htaccess | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -29,6 +29,9 @@ php_value mbstring.func_overload 0 <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^favicon.ico$ skins/default/images/favicon.ico +# security rules +RewriteRule .svn/ - [F] +RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] </IfModule> <IfModule mod_deflate.c> @@ -46,5 +49,4 @@ ExpiresDefault "access plus 1 month" </IfModule> FileETag MTime Size - - +Options -Indexes diff --git a/program/.htaccess b/program/.htaccess new file mode 100644 index 000000000..4ad1b9d12 --- /dev/null +++ b/program/.htaccess @@ -0,0 +1,4 @@ +<IfModule mod_rewrite.c> +RewriteEngine On +RewriteRule !^js|.*\.gif$ - [F] +</IfModule> |