X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=apache%2Fmyslice.conf;h=9e8a155165f58a46501823cfba4438ea22238f1f;hb=17a01cef3f265688e6f8a1a4fec2d0abb3cf7397;hp=a3d1d32baa0e0497d2a4323640a8ddf94d28819d;hpb=ea15d8f8641500ff6a551eaa5bdd8bf1e0674e86;p=unfold.git diff --git a/apache/myslice.conf b/apache/myslice.conf index a3d1d32b..9e8a1551 100644 --- a/apache/myslice.conf +++ b/apache/myslice.conf @@ -1,25 +1,14 @@ -## better use -# https://docs.djangoproject.com/en/1.5/howto/deployment/wsgi/modwsgi/ -# instead -# -# XXX this is very rough, was just pasted from the (wrong) web page -# and never tested, so feel free to rewrite completely if that sounds right -# -#Alias /robots.txt /usr/share/myslice/all-static/robots.txt -Alias /favicon.ico /usr/share/myslice/all-static/favicon.ico - -#AliasMatch ^/([^/]*\.css) /usr/share/myslice/all-static/styles/$1 - -Alias /all-static/ /usr/share/myslice/all-static/ - - -Order deny,allow -Allow from all - - -WSGIScriptAlias / /usr/share/myslice/apache/myslice.wsgi - - -Order allow,deny -Allow from all - + + WSGIScriptAlias / /usr/share/unfold/apache/myslice.wsgi + + + Order deny,allow + Allow from all + + + Alias /static/ /usr/share/unfold/static/ + + Order deny,allow + Allow from all + +