dirplex: Inverted the default root capture behaviour and changed its flag.
[ashd.git] / examples / python / wsgidir / wsgidir.rc
CommitLineData
8774cda2
FT
1# Python 2 handler process
2child wsgidir
3 exec ashd-wsgi ashd.wsgidir
4# Python 3 scripts can also be served, using ashd-wsgi3
5child wsgidir3
6 exec ashd-wsgi3 ashd.wsgidir
7
8# Dispatch any *.wsgi files to wsgidir
9# See the Python documention for the ashd.wsgidir module for the
10# meaning of the "xset python-handler chain" directive and what other
11# values it can take.
12match
13 filename *.wsgi
14 xset python-handler chain
15 handler wsgidir
16# Do the same for Python3 scripts names *.wsgi3
17match
18 filename *.wsgi3
19 xset python-handler chain
20 handler wsgidir3