30 lines
592 B
ApacheConf
30 lines
592 B
ApacheConf
#
|
|
# drop.org apache configuration
|
|
#
|
|
|
|
# Archive feature:
|
|
<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>
|
|
order deny,allow
|
|
deny from all
|
|
</Files>
|
|
|
|
# Protect CVS directories:
|
|
<Files *CVS>
|
|
order deny,allow
|
|
deny from all
|
|
</Files>
|
|
|
|
# Customized server error messages:
|
|
ErrorDocument 400 /error.php
|
|
ErrorDocument 402 /error.php
|
|
ErrorDocument 403 /error.php
|
|
ErrorDocument 404 /error.php
|
|
ErrorDocument 500 /error.php
|