Browse Source

README.md edited online with Bitbucket

lebouquetin 11 years ago
parent
commit
3ca3c77134
1 changed files with 3 additions and 2 deletions
  1. 3 2
      README.md

+ 3 - 2
README.md View File

187
 
187
 
188
 #### WSGI configuration ####
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
     <VirtualHost *:80>
192
     <VirtualHost *:80>
191
         ServerAdmin webmaster@archipeldata.com
193
         ServerAdmin webmaster@archipeldata.com
192
         ServerName demo.archipeldata.com
194
         ServerName demo.archipeldata.com
193
 
195
 
194
         WSGIProcessGroup pod
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
         WSGIScriptAlias / /opt/podinstall/pod/productionapp.wsgi
198
         WSGIScriptAlias / /opt/podinstall/pod/productionapp.wsgi
197
 
199
 
198
         #Serve static files directly without TurboGears
200
         #Serve static files directly without TurboGears
204
         CustomLog /var/log/apache2/demopod-access.log combined
206
         CustomLog /var/log/apache2/demopod-access.log combined
205
         ErrorLog /var/log/apache2/demopod-error.log
207
         ErrorLog /var/log/apache2/demopod-error.log
206
         LogLevel debug
208
         LogLevel debug
207
-
208
     </VirtualHost>
209
     </VirtualHost>
209
 
210
 
210
 ### Help required ###
211
 ### Help required ###