2000-05-28 09:23:56 +00:00
|
|
|
#
|
2000-06-22 09:14:16 +00:00
|
|
|
# Apache/PHP/site settings:
|
2000-05-28 09:23:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# Archive feature:
|
2000-05-29 09:46:03 +00:00
|
|
|
<Files archive>
|
|
|
|
ForceType application/x-httpd-php
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
# Protect .inc files:
|
|
|
|
# .inc files can be read from the web so make sure we keep it
|
|
|
|
# away from the casual prying eyes. Especially `config.inc'.
|
|
|
|
<Files *.inc>
|
2000-05-29 09:46:35 +00:00
|
|
|
order deny,allow
|
2000-05-29 09:46:03 +00:00
|
|
|
deny from all
|
|
|
|
</Files>
|
2000-05-28 09:23:56 +00:00
|
|
|
|
2000-06-01 13:33:19 +00:00
|
|
|
# Protect CVS directories:
|
|
|
|
<Files *CVS>
|
|
|
|
order deny,allow
|
|
|
|
deny from all
|
|
|
|
</Files>
|
|
|
|
|
2000-06-05 16:10:47 +00:00
|
|
|
# Protect theme directories:
|
|
|
|
<Files *themes>
|
|
|
|
order deny,allow
|
|
|
|
deny from all
|
|
|
|
</Files>
|
|
|
|
|
2000-05-28 09:23:56 +00:00
|
|
|
# Customized server error messages:
|
|
|
|
ErrorDocument 400 /error.php
|
|
|
|
ErrorDocument 402 /error.php
|
|
|
|
ErrorDocument 403 /error.php
|
|
|
|
ErrorDocument 404 /error.php
|
|
|
|
ErrorDocument 500 /error.php
|
2000-06-03 09:20:45 +00:00
|
|
|
|
2000-06-22 09:14:16 +00:00
|
|
|
# Overload PHP variables:
|
|
|
|
<IfModule mod_php4.c>
|
2000-09-26 07:34:33 +00:00
|
|
|
php_value php_register_globals 1
|
|
|
|
php_value track_vars 1
|
|
|
|
php_value magic_quotes_gpc 1
|
|
|
|
php_value magic_quotes_runtime 0
|
|
|
|
php_value magic_quotes_sybase 0
|
2000-10-02 07:32:17 +00:00
|
|
|
php_value session.auto_start 1
|
|
|
|
php_value session.cookie_lifetime 17280000
|
|
|
|
php_value session.gc_maxlifetime 17280000
|
2000-06-22 09:14:16 +00:00
|
|
|
php_value session.name DROPID
|
|
|
|
</IfModule>
|