2017-03-05 05:30:30 +00:00
|
|
|
Options -Indexes
|
2013-04-16 14:11:34 +00:00
|
|
|
|
2017-03-05 05:30:30 +00:00
|
|
|
ErrorDocument 403 "Access forbidden"
|
2015-04-07 01:36:00 +00:00
|
|
|
ErrorDocument 404 /cgi/main.py
|
2014-06-16 11:51:45 +00:00
|
|
|
ErrorDocument 500 "A very nasty bug found his way onto this very server"
|
2017-03-05 05:30:30 +00:00
|
|
|
|
|
|
|
Order Deny,Allow
|
|
|
|
|
|
|
|
<Files ~ "\.(py|pyc|db|log)$">
|
|
|
|
deny from all
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
<Files main.py>
|
|
|
|
allow from all
|
|
|
|
AddHandler cgi-script .py
|
|
|
|
Options +ExecCGI
|
|
|
|
</Files>
|