Mercurial > hg > ltpdarepo
changeset 226:bec775b8c364
Add modwsgi activation instructions to README.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Thu, 24 Nov 2011 17:31:11 +0100 |
parents | 9c2aa0e331e9 |
children | b9f7aac3fd06 |
files | README.txt |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
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::