summaryrefslogtreecommitdiff
path: root/http/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'http/.htaccess')
-rw-r--r--http/.htaccess6
1 files changed, 5 insertions, 1 deletions
diff --git a/http/.htaccess b/http/.htaccess
index 92130fb..5ad514f 100644
--- a/http/.htaccess
+++ b/http/.htaccess
@@ -2,5 +2,9 @@ RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
-RewriteRule ^[^\.]*$ index.php [QSA,L]
+RewriteRule ^[^\.]*$ index.py [QSA,L]
+AddHandler mod_python .py
+PythonHandler index
+PythonDebug On
+DirectoryIndex index.html index.htm index.py index.php