etc: Added a default configuration file for Python handling.
authorFredrik Tolf <fredrik@dolda2000.com>
Thu, 2 Jan 2014 06:21:29 +0000 (07:21 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Thu, 2 Jan 2014 06:21:29 +0000 (07:21 +0100)
etc/ashd/dirplex.d/python.rc [new file with mode: 0644]

diff --git a/etc/ashd/dirplex.d/python.rc b/etc/ashd/dirplex.d/python.rc
new file mode 100644 (file)
index 0000000..7b7f0dd
--- /dev/null
@@ -0,0 +1,14 @@
+child wsgidir
+  exec ashd-wsgi ashd.wsgidir
+child wsgidir3
+  exec ashd-wsgi3 ashd.wsgidir
+
+match
+  filename *.wsgi
+  xset python-handler chain
+  handler wsgidir
+
+match
+  filename *.wsgi3
+  xset python-handler chain
+  handler wsgidir3