Mercurial > hg > ltpdarepo
diff 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 |
line wrap: on
line diff
--- a/README.txt Fri Nov 25 10:24:18 2011 +0100 +++ b/README.txt Thu Nov 24 17:31:11 2011 +0100 @@ -163,10 +163,17 @@ embedded HTTP server. You can use any WSGI capable web server. The easiest solution it is probably to use Apache `mod_wsgi`. -First enable the `mod_wsgi` Apache module:: +First enable the `mod_wsgi` Apache module. On Debian and Debian +derivate GNU-Linux distributions you can simply do:: # a2enmod wsgi +On other platforms, add the following configuration directive, +properly adjusted for your instllation paths, to the Apache +configuration file:: + + LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so + A WSGI script is generated during the application install procedure. To have Apache load it, copy this configuration snippet into your Apache server configuration::