aboutsummaryrefslogtreecommitdiff
path: root/cgi/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/.htaccess')
-rw-r--r--cgi/.htaccess9
1 files changed, 9 insertions, 0 deletions
diff --git a/cgi/.htaccess b/cgi/.htaccess
new file mode 100644
index 0000000..97a4f17
--- /dev/null
+++ b/cgi/.htaccess
@@ -0,0 +1,9 @@
+AddHandler cgi-script .py
+Options +ExecCGI
+
+# Uncomment if you want pretty URL (ie cgi/post)
+#RewriteEngine On
+#RewriteBase /cgi/
+#RewriteRule ^weabot\.py/ - [L]
+#RewriteRule ^(.*)$ weabot.py/$1 [L]
+