X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fapache2%2Fpatchwork.wsgi.conf;fp=lib%2Fapache2%2Fpatchwork.wsgi.conf;h=e99f8c60860c9e7eb62cde7774320091f6414272;hb=2ad2af87e5e438f26ae1f26d21d02052f75cc091;hp=0000000000000000000000000000000000000000;hpb=ef3b7b60bbfbcd7b61e3a04797d110ee19fc4506;p=patchwork diff --git a/lib/apache2/patchwork.wsgi.conf b/lib/apache2/patchwork.wsgi.conf new file mode 100644 index 0000000..e99f8c6 --- /dev/null +++ b/lib/apache2/patchwork.wsgi.conf @@ -0,0 +1,20 @@ + + Alias /images/ "/srv/patchwork/htdocs/images/" + Alias /css/ "/srv/patchwork/htdocs/css/" + Alias /js/ "/srv/patchwork/htdocs/js/" + Alias /robots.txt "/srv/patchwork/htdocs/robots.txt" + + Order allow,deny + Allow from all + + + Alias /media/ "/usr/share/python-support/python-django/django/contrib/admin/media/" + + + Order allow,deny + Allow from all + + + +WSGIScriptAlias / "/srv/patchwork/patchwork.wsgi" +WSGIPassAuthorization On