refine packaging one step further
[myslice.git] / apache / unfold.conf
similarity index 68%
rename from apache/myslice.conf
rename to apache/unfold.conf
index 8ee84d0..61bb49f 100644 (file)
@@ -1,15 +1,11 @@
-# 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
 <VirtualHost *:80>
-       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
-        <Directory /usr/share/unfold/myslice>
-        <Files wsgi.py>
+       WSGIDaemonProcess unfold processes=2 threads=25
+       WSGIProcessGroup unfold
+       CustomLog ${APACHE_LOG_DIR}/unfold-access.log common
+       ErrorLog ${APACHE_LOG_DIR}/unfold-error.log
+        WSGIScriptAlias / /usr/share/unfold/apache/unfold.wsgi
+        <Directory /usr/share/unfold/apache/>
+        <Files unfold.wsgi>
         Order deny,allow
         Allow from all
         </Files>
@@ -33,9 +29,9 @@
        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
-        <Directory /usr/share/unfold/apache>
-        <Files myslice.wsgi>
+        WSGIScriptAlias / /usr/share/unfold/apache/unfold.wsgi
+        <Directory /usr/share/unfold/apache/>
+        <Files unfold.wsgi>
         Order deny,allow
         Allow from all
         </Files>