|
@@ -187,12 +187,14 @@ Install dependencies:
|
187
|
187
|
|
188
|
188
|
#### WSGI configuration ####
|
189
|
189
|
|
|
190
|
+Example of Apache WSGI configuration. This configuration refers to productionapp.wsgi which is a copy of the file *app.wsgi* available in the repo. (this file has to be updated to match with your environment and installation)
|
|
191
|
+
|
190
|
192
|
<VirtualHost *:80>
|
191
|
193
|
ServerAdmin webmaster@archipeldata.com
|
192
|
194
|
ServerName demo.archipeldata.com
|
193
|
195
|
|
194
|
196
|
WSGIProcessGroup pod
|
195
|
|
- WSGIDaemonProcess pod user=www-data group=adm threads=4 python-path=/opt/demo.archipeldata.com/tg2env/lib/python3.2/site-packages
|
|
197
|
+ WSGIDaemonProcess pod user=www-data group=adm threads=4 python-path=/opt/podinstall/tg2env/lib/python3.2/site-packages
|
196
|
198
|
WSGIScriptAlias / /opt/podinstall/pod/productionapp.wsgi
|
197
|
199
|
|
198
|
200
|
#Serve static files directly without TurboGears
|
|
@@ -204,7 +206,6 @@ Install dependencies:
|
204
|
206
|
CustomLog /var/log/apache2/demopod-access.log combined
|
205
|
207
|
ErrorLog /var/log/apache2/demopod-error.log
|
206
|
208
|
LogLevel debug
|
207
|
|
-
|
208
|
209
|
</VirtualHost>
|
209
|
210
|
|
210
|
211
|
### Help required ###
|