X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=apache%2Fmyslice.conf;h=a7f6f2cef3ea7b91a6e02793129839224f585c54;hb=bb1f5f96f8a8a3eeb8585357a3a94c047c1c496b;hp=8f3ff2ba9c4f1ae014267af717c75507b7e2fb70;hpb=00196996cc9202821b9ab982031760aa1513f9d4;p=myslice.git diff --git a/apache/myslice.conf b/apache/myslice.conf index 8f3ff2ba..a7f6f2ce 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/static/robots.txt -Alias /favicon.ico /usr/share/myslice/static/favicon.ico - -#AliasMatch ^/([^/]*\.css) /usr/share/myslice/static/styles/$1 - -Alias /static/ /usr/share/myslice/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/wsgi.py + + + Order deny,allow + Allow from all + + + Alias /static/ /usr/share/unfold/static/ + + Order deny,allow + Allow from all + +