# The concept for this was taken from the Drupal project by D. Keith Casey Jr. - caseydk@users.sourceforge.net
# PHP 4, Apache 1
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value allow_url_fopen 0
php_value session.auto_start 0
php_value max_execution_time 120
php_value zlib.output_compression 0
# PHP 4, Apache 2
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value allow_url_fopen 0
php_value session.auto_start 0
php_value max_execution_time 120
php_value zlib.output_compression 0
# PHP 5, Apache 1 and 2
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value allow_url_fopen 0
php_value session.auto_start 0
php_value max_execution_time 120
php_value zlib.output_compression 0
# Protect files and directories from prying eyes:
# - These limitations were put in place specifically to combat further security issues in addition to completely
# close out previous issues. In order to install some modules - such as the Task Tracker for the Yahoo Widget Engine-
# have to be manually added to the second FileMatch block in order to allow for external access.
Order deny,allow
Deny from all
Order deny,allow
Allow from all
# Set some options.
Options -Indexes
Options +FollowSymLinks
# Set the default handler.
DirectoryIndex index.php