From: Jan Rękorajski Date: Wed, 30 Oct 2013 19:15:33 +0000 (+0100) Subject: - added WSGI handler example X-Git-Tag: auto/th/apache-mod_python-3.4.1-1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fapache-mod_python.git;a=commitdiff_plain;h=cfef9c7408c2976df65e9966bf1fafe4f069b56d - added WSGI handler example --- diff --git a/apache-mod_python.conf b/apache-mod_python.conf index c0abb0d..be0b901 100644 --- a/apache-mod_python.conf +++ b/apache-mod_python.conf @@ -1,3 +1,11 @@ -# $Id$ -LoadModule python_module modules/mod_python.so +LoadModule python_module modules/mod_python.so + +# +# PythonHandler mod_python.wsgi +# PythonOption mod_python.wsgi.application mysite.wsgi +# or +# PythonOption mod_python.wsgi.application mysite.wsgi::my_application +# PythonPath "sys.path+['/path/to/mysite']" +# + # vim: filetype=apache ts=4 sw=4 et