From 79fc061a2bab7f5b149b3770920f646ecae46149 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Mon, 30 Sep 2013 16:48:39 -0400 Subject: [PATCH] Add a missing wsgi.conf for the python 2.7 version. --- wsgi.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 wsgi.conf diff --git a/wsgi.conf b/wsgi.conf new file mode 100644 index 000000000..9296bd3ce --- /dev/null +++ b/wsgi.conf @@ -0,0 +1,28 @@ + +LoadModule wsgi_module modules/mod_wsgi.so +WSGIPythonHome /opt/python/run/venv +WSGISocketPrefix run/wsgi +WSGIRestrictEmbedded On + + + +Alias /static /opt/python/current/app/ + +Order allow,deny +Allow from all + + + +WSGIScriptAlias / /opt/python/current/app/application.py + + + +Order allow,deny +Allow from all + + +WSGIDaemonProcess wsgi processes=1 threads=15 display-name=%{GROUP} \ + python-path=/opt/python/current/app:/opt/python/run/venv/lib/python2.7/site-packages user=wsgi group=wsgi \ + home=/opt/python/current/app +WSGIProcessGroup wsgi +