Skip to content
Pierre Quentel edited this page Apr 24, 2016 · 1 revision

WSGI is the Web Server Gateway Interface. It is a specification for web servers and application servers to communicate with web applications. It is a Python standard, described in detail in PEP 333.

To run Karrigell with WSGI behing Apache, download the appropriate Apache module for Python 3.x on WSGI downloads page and save it in the modules directory under the name mod_wsgi-py3.so.

The edit the Apache configuration file (httpd.conf):

  • in section "# Dynamic Shared Object (DSO) Support", add the line

pythonLoadModule wsgi_module modules/mod_wsgi-py3.so

  • after the line DocumentRoot, add this line :

pythonWSGIScriptAlias / "C:/Karrigell-Python3/cgi-test/wsgi/Karrigell-wsgi.py"

(replace by the actual path to Karrigell-wsgi.py. It is located in the directory wsgi of the Karrigell distribution)

GettingStarted

Clone this wiki locally