comparison README.txt @ 226:bec775b8c364

Add modwsgi activation instructions to README.
author Daniele Nicolodi <daniele@grinta.net>
date Thu, 24 Nov 2011 17:31:11 +0100
parents 2de8715f0d59
children b9f7aac3fd06
comparison
equal deleted inserted replaced
225:9c2aa0e331e9 226:bec775b8c364
161 161
162 For the deployment to a production server you do not want to use the 162 For the deployment to a production server you do not want to use the
163 embedded HTTP server. You can use any WSGI capable web server. The 163 embedded HTTP server. You can use any WSGI capable web server. The
164 easiest solution it is probably to use Apache `mod_wsgi`. 164 easiest solution it is probably to use Apache `mod_wsgi`.
165 165
166 First enable the `mod_wsgi` Apache module:: 166 First enable the `mod_wsgi` Apache module. On Debian and Debian
167 derivate GNU-Linux distributions you can simply do::
167 168
168 # a2enmod wsgi 169 # a2enmod wsgi
170
171 On other platforms, add the following configuration directive,
172 properly adjusted for your instllation paths, to the Apache
173 configuration file::
174
175 LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so
169 176
170 A WSGI script is generated during the application install procedure. 177 A WSGI script is generated during the application install procedure.
171 To have Apache load it, copy this configuration snippet into your 178 To have Apache load it, copy this configuration snippet into your
172 Apache server configuration:: 179 Apache server configuration::
173 180