X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=apache%2Fmyslice.conf;h=9e8a155165f58a46501823cfba4438ea22238f1f;hb=8bfd19e0841658b5e221e903d5596aca72470721;hp=581b559c779c6a77b852a711f6aa7171f9d1c9a6;hpb=2404a7633cc73ab9efbd316d033507980b127b6f;p=myslice.git diff --git a/apache/myslice.conf b/apache/myslice.conf index 581b559c..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/static/robots.txt -Alias /favicon.ico /usr/share/unfold/static/favicon.ico - -#AliasMatch ^/([^/]*\.css) /usr/share/myslice/static/styles/$1 - -Alias /static/ /usr/share/unfold/static/ - - -Order deny,allow -Allow from all - - -WSGIScriptAlias / /usr/share/unfold/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 + +