X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=apache%2Fmyslice.conf;h=8ee84d0fba9b75b2ed6baa7864ee5ff5d7812e5e;hb=c22a2a779edb285797b4b0a7b6297181f2165c05;hp=c994af369aff4f4d6285decc82bb3bdb799dbf66;hpb=b45df9e952ec69d293fe0e4963e040d2a21c07b3;p=myslice.git diff --git a/apache/myslice.conf b/apache/myslice.conf index c994af36..8ee84d0f 100644 --- a/apache/myslice.conf +++ b/apache/myslice.conf @@ -1,6 +1,12 @@ # xxx it might be smarter to install wsgi.py in some other location # so we don't have to hard-wire these paths here +# xxx it might also be helpful to set up a specific log channel for this +# e.g. in /var/log/myslice.log + WSGIDaemonProcess myslice processes=2 threads=25 + WSGIProcessGroup myslice + CustomLog ${APACHE_LOG_DIR}/myslice-access.log common + ErrorLog ${APACHE_LOG_DIR}/myslice-error.log WSGIScriptAlias / /usr/lib/python2.7/dist-packages/myslice/wsgi.py @@ -23,6 +29,10 @@ # this to be optional on that port + WSGIDaemonProcess myslice-ssl processes=2 threads=25 + WSGIProcessGroup myslice-ssl + CustomLog ${APACHE_LOG_DIR}/myslice-ssl-access.log common + ErrorLog ${APACHE_LOG_DIR}/myslice-ssl-error.log WSGIScriptAlias / /usr/lib/python2.7/dist-packages/myslice/wsgi.py