second pass on packaging; works better but offline mode is still in the way
[myslice.git] / apache / myslice.conf
index b36a75e..c994af3 100644 (file)
@@ -1,5 +1,7 @@
+# xxx it might be smarter to install wsgi.py in some other location 
+# so we don't have to hard-wire these paths here
 <VirtualHost *:80>
-        WSGIScriptAlias / /usr/share/unfold/myslice/wsgi.py
+        WSGIScriptAlias / /usr/lib/python2.7/dist-packages/myslice/wsgi.py
         <Directory /usr/share/unfold/myslice>
         <Files wsgi.py>
         Order deny,allow
@@ -21,7 +23,7 @@
 # this to be optional on that port
 
 <VirtualHost *:443>
-        WSGIScriptAlias / /usr/share/unfold/myslice/wsgi.py
+        WSGIScriptAlias / /usr/lib/python2.7/dist-packages/myslice/wsgi.py
         <Directory /usr/share/unfold/apache>
         <Files myslice.wsgi>
         Order deny,allow