diff --git a/.htaccess b/.htaccess index b1aa23e5aa9..cdfed3f3d19 100644 --- a/.htaccess +++ b/.htaccess @@ -18,21 +18,30 @@ ErrorDocument 404 /index.php # Set the default handler. DirectoryIndex index.php -# Override PHP settings. More exist in sites/default/settings.php, but -# the following cannot be changed at runtime. The first IfModule is -# for Apache 1.3, the second for Apache 2. +# Override PHP settings. More in sites/default/settings.php +# but the following cannot be changed at runtime. + +# PHP 4, Apache 1 php_value magic_quotes_gpc 0 php_value register_globals 0 php_value session.auto_start 0 +# PHP 4, Apache 2 php_value magic_quotes_gpc 0 php_value register_globals 0 php_value session.auto_start 0 +# PHP 5, Apache 1 and 2 + + php_value magic_quotes_gpc 0 + php_value register_globals 0 + php_value session.auto_start 0 + + # Reduce the time dynamically generated pages are cache-able. ExpiresByType text/html A1