From 4d5798c6127fb74fca1dc154a837d1bfdec1acaf Mon Sep 17 00:00:00 2001 From: Mohamed Larabi Date: Tue, 24 Sep 2013 15:59:39 +0200 Subject: [PATCH] fix apache wsgi config --- apache/myslice.conf | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/apache/myslice.conf b/apache/myslice.conf index 581b559c..712b8ad2 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 + + -- 2.43.0