From 10cbebb80c43bd110329f51b046ba67430816d70 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 23 Jul 2017 20:22:40 +0200 Subject: [PATCH] Imrove provided .htaccess --- www/.htaccess | 8 -------- www/cgi/.htaccess | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 www/cgi/.htaccess diff --git a/www/.htaccess b/www/.htaccess index df53ef3..9b5238d 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -4,14 +4,6 @@ ErrorDocument 403 "Access forbidden" ErrorDocument 404 /cgi/main.py ErrorDocument 500 "A very nasty bug found his way onto this very server" -Order Deny,Allow - deny from all - - - allow from all - AddHandler cgi-script .py - Options +ExecCGI - diff --git a/www/cgi/.htaccess b/www/cgi/.htaccess new file mode 100644 index 0000000..4b454ba --- /dev/null +++ b/www/cgi/.htaccess @@ -0,0 +1,7 @@ +deny from all + + + allow from all + AddHandler cgi-script .py + Options +ExecCGI +