X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.htaccess;h=2bc9f95eaa09245c8f4dbc412442bc26f8fc4f4c;hb=eadfecac02e9fdc413c37276edda9cc7ae43a030;hp=00e1bf2db837dbcbb54bc18c098036ec0dd03027;hpb=0e566f14d53229e4e8e1edf2cfa707cab802fc33;p=roundcube.git diff --git a/.htaccess b/.htaccess index 00e1bf2..2bc9f95 100644 --- a/.htaccess +++ b/.htaccess @@ -16,6 +16,7 @@ php_flag magic_quotes_runtime Off php_flag zend.ze1_compatibility_mode Off php_flag suhosin.session.encrypt Off +#php_value session.cookie_path / php_value session.auto_start 0 php_value session.gc_maxlifetime 21600 php_value session.gc_divisor 500 @@ -28,6 +29,9 @@ php_value mbstring.func_overload 0 RewriteEngine On RewriteRule ^favicon.ico$ skins/default/images/favicon.ico +# security rules +RewriteRule .svn/ - [F] +RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] @@ -45,5 +49,4 @@ ExpiresDefault "access plus 1 month" FileETag MTime Size - - +Options -Indexes