diff options
Diffstat (limited to 'testing/patchwork/patchwork.wsgi.conf')
-rw-r--r-- | testing/patchwork/patchwork.wsgi.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/patchwork/patchwork.wsgi.conf b/testing/patchwork/patchwork.wsgi.conf new file mode 100644 index 0000000000..2efd67460e --- /dev/null +++ b/testing/patchwork/patchwork.wsgi.conf @@ -0,0 +1,21 @@ +<IfModule mod_alias.c> + Alias /images/ "/usr/share/webapps/patchwork/htdocs/images/" + Alias /css/ "/usr/share/webapps/patchwork/htdocs/css/" + Alias /js/ "/usr/share/webapps/patchwork/htdocs/js/" + Alias /robots.txt "/usr/share/webapps/patchwork/htdocs/robots.txt" + <Directory "/usr/share/webapps/patchwork/htdocs"> + Order allow,deny + Allow from all + </Directory> + + Alias /static/admin/ "/usr/lib/python2.7/site-packages/django/contrib/admin/static/admin/" + + <Directory "/usr/lib/python2.7/site-packages/django/contrib/admin/static/admin/"> + Order allow,deny + Allow from all + </Directory> +</IfModule> + +WSGIScriptAlias / "/usr/share/webapps/patchwork/lib/apache2/patchwork.wsgi" +WSGIPassAuthorization On + |