diff --git a/.htaccess b/.htaccess index f09da7867..255e6fa6c 100755 --- a/.htaccess +++ b/.htaccess @@ -8,4 +8,25 @@ RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)$ index.php?/$1 [L] \ No newline at end of file +RewriteRule ^(.*)$ index.php?/$1 [L] + +# disable directory browsing +# For security reasons, Option all cannot be overridden. +#Options All -Indexes +Options ExecCGI Includes IncludesNOEXEC SymLinksIfOwnerMatch -Indexes + +# prevent folder listing +IndexIgnore * + +# secure htaccess file + + order allow,deny + deny from all + + +# prevent access to PHP error log + + order allow,deny + deny from all + satisfy All + \ No newline at end of file