mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-05 00:55:44 +01:00
cf2825c2fc
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
21 lines
905 B
Text
21 lines
905 B
Text
mod_wsgi is a simple to use Apache module which can host any Python
|
|
application which supports the Python WSGI interface. The module
|
|
would be suitable for use in hosting high performance production
|
|
web sites as well as your average personal sites running on commodity
|
|
web hosting services.
|
|
|
|
All major Python web frameworks/applications support mod_wsgi,
|
|
including Django, Flask, Pyramid, TurboGears, ...
|
|
|
|
You'll need to add the following line to your /etc/httpd/httpd.conf file:
|
|
Include /etc/httpd/extra/mod_wsgi.conf
|
|
|
|
From version 4.2, mod_wsgi ships with additional helper program for
|
|
developers, mod_wsgi-express, which enables easier development and
|
|
debugging with mod_wsgi and Apache.
|
|
|
|
If you are a developer, you can enable the helper with:
|
|
ENABLE_EXPRESS=1 ./mod_wsgi.SlackBuild
|
|
|
|
For express functionality you'll need to install 'pysetuptools' and
|
|
'mod-wsgi-metrics' (both available from SBo).
|