summaryrefslogtreecommitdiff
path: root/http/.htaccess
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-02-09 20:14:59 +0100
committeremkael <emkael@tlen.pl>2015-02-09 20:14:59 +0100
commit17167b1c0e088000164b87ef0a02237a3ffc107c (patch)
tree79c61deeea11e57b3c8e99dc39ca76cee491a745 /http/.htaccess
parentdd3d2509f6048e11f9b2b127f6c7acb80a506d8d (diff)
* mod_python port
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