morss/www/.htaccess

16 lines
403 B
ApacheConf
Raw Normal View History

Options -Indexes
ErrorDocument 403 "Access forbidden"
2015-04-07 01:36:00 +00:00
ErrorDocument 404 /cgi/main.py
ErrorDocument 500 "A very nasty bug found his way onto this very server"
2020-08-23 13:31:11 +00:00
# Uncomment below line to turn debug on for all requests
#SetEnv DEBUG 1
# Uncomment below line to turn debug on for requests with :debug in the url
2020-08-23 17:01:34 +00:00
#SetEnvIf Request_URI :debug DEBUG=1
2020-08-23 13:31:11 +00:00
<Files ~ "\.(py|pyc|db|log)$">
deny from all
</Files>