X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=lib%2Fapache2%2Fpatchwork.wsgi.conf;h=cce7e7ab1bf4f4fe87f41bf154cce2c119bcc8cf;hp=3756e5ab2761be25960f53670d3ba0842462c91b;hb=HEAD;hpb=1dbb7b85cb00bbdfecfce8831096d9a15111ac37;ds=sidebyside
diff --git a/lib/apache2/patchwork.wsgi.conf b/lib/apache2/patchwork.wsgi.conf
index 3756e5a..cce7e7a 100644
--- a/lib/apache2/patchwork.wsgi.conf
+++ b/lib/apache2/patchwork.wsgi.conf
@@ -1,20 +1,8 @@
-
- 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
-
-
+Alias /static/ "/srv/patchwork/htdocs/static/"
+
+ Order allow,deny
+ Allow from all
+
WSGIScriptAlias / "/srv/patchwork/lib/apache2/patchwork.wsgi"
WSGIPassAuthorization On