diff --git a/src/mibew/.htaccess b/src/mibew/.htaccess index 4a3ca54e..f821987f 100644 --- a/src/mibew/.htaccess +++ b/src/mibew/.htaccess @@ -1,4 +1,25 @@ +# Set default handler for incoming requests +DirectoryIndex index.php + +# Disable directory listing +Options -Indexes + +# Follow symbolic links in the directory +Options +FollowSymLinks + +# Disable mod_security for Apache 1.x -SecFilterEngine Off -SecFilterScanPOST Off + SecFilterEngine Off + SecFilterScanPOST Off + + +# Explicitly set right settings for mod_php 5 for Apache 1.x and 2.x + + php_flag magic_quotes_gpc off + php_flag magic_quotes_sybase off + php_flag register_globals off + php_flag mbstring.encoding_translation off + php_value mbstring.http_input pass + php_value mbstring.http_output pass + php_flag session.auto_start off