diff options
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/.htaccess | 3 | ||||
-rwxr-xr-x | cgi/weabot.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/cgi/.htaccess b/cgi/.htaccess index 97a4f17..c698f95 100644 --- a/cgi/.htaccess +++ b/cgi/.htaccess @@ -1,6 +1,9 @@ AddHandler cgi-script .py Options +ExecCGI +# Force regular CGI (non-FastCGI) +SetEnv FCGI_FORCE_CGI Y + # Uncomment if you want pretty URL (ie cgi/post) #RewriteEngine On #RewriteBase /cgi/ diff --git a/cgi/weabot.py b/cgi/weabot.py index 3bcef7b..c38a972 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # coding=utf-8 # Remove the first line to use the env command to locate python |