0
|
1 - Unpack archive into pywws directory.
|
|
2 - Create Apache config containing..
|
|
3
|
|
4 WSGIRestrictStdout Off
|
3
|
5 WSGIDaemonProcess iwws user=myuser group=users threads=5 home=/path/to/pywws/iwws processes=5 maximum-requests=10000
|
0
|
6 WSGIScriptAlias /iwws /path/to/pywwsiwws/iwws.wsgi
|
|
7
|
3
|
8 Alias /static /path/to/pywws/iwws
|
|
9 <Directory /path/to/pywws/iwws/static>
|
|
10 Order deny,allow
|
|
11 Allow from all
|
|
12 </Directory>
|
|
13
|
|
14 <Directory /path/to/pywws/iwws>
|
0
|
15 WSGIProcessGroup iwws
|
|
16 WSGIApplicationGroup %{GLOBAL}
|
|
17 WSGIScriptReloading On
|
|
18
|
|
19 Order deny,allow
|
|
20 Allow from all
|
|
21 </Directory>
|
|
22
|
|
23 - Code by me is licensed under the 2 clause BSDL, other code licensed as per those projects.
|