summaryrefslogtreecommitdiff
path: root/http/api/.htaccess
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-05-31 17:18:46 +0200
committeremkael <emkael@tlen.pl>2019-05-31 17:18:46 +0200
commit5b81841f420eb948de7f184b588bc75a3227da15 (patch)
treeb09851d6b677e416d12ac73ada72332ba63ca81b /http/api/.htaccess
parente09274eb80af691af0feb9c774bd0517bb92e381 (diff)
Web (mod_python) API
Diffstat (limited to 'http/api/.htaccess')
-rw-r--r--http/api/.htaccess6
1 files changed, 6 insertions, 0 deletions
diff --git a/http/api/.htaccess b/http/api/.htaccess
new file mode 100644
index 0000000..998bfca
--- /dev/null
+++ b/http/api/.htaccess
@@ -0,0 +1,6 @@
+RewriteEngine On
+RewriteRule ^.*$ api.py [QSA,L]
+
+AddHandler mod_python .py
+PythonHandler api
+PythonDebug On