aboutsummaryrefslogtreecommitdiff
path: root/cgi/.htaccess
blob: c698f955e28b589e1659212c562f046ed46361bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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/
#RewriteRule ^weabot\.py/ - [L]
#RewriteRule ^(.*)$ weabot.py/$1 [L]