<files .htaccess>
order allow,deny
deny from all
</files>
<files debug.txt>
order allow,deny
deny from all
</files>
# some apache settings
Options -Indexes
# register globals must be off
php_flag register_globals off
# magic quotes must be off
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
# The maximum POST limit. To upload large files, this value must be larger than upload_max_filesize.
php_value post_max_size 31M
php_value upload_max_filesize 30M
# we need short-open-tags
php_flag short_open_tag on
# For debugging only
# make sure apache/php can write this file, or else no errors are logged!
php_flag log_errors on
php_value error_log /var/log/httpd/errors.txt