[packages/apache-mod_python] - added WSGI handler example
baggins
baggins at pld-linux.org
Wed Oct 30 20:15:46 CET 2013
commit cfef9c7408c2976df65e9966bf1fafe4f069b56d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Oct 30 20:15:33 2013 +0100
- added WSGI handler example
apache-mod_python.conf | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
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
+
+#<Location /wsgiapps>
+# 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']"
+#</Location>
+
# vim: filetype=apache ts=4 sw=4 et
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_python.git/commitdiff/cfef9c7408c2976df65e9966bf1fafe4f069b56d
More information about the pld-cvs-commit
mailing list