Browse Source

update example configs for new staticfiles layout

Natenom/support-murmur-13-1446181288462
Michael Ziegler 12 years ago
parent
commit
a8ed54a56f
  1. 2
      etc/apache2/dedicated_vhost.conf
  2. 2
      etc/apache2/shared_vhost.conf

2
etc/apache2/dedicated_vhost.conf

@ -9,8 +9,8 @@
ServerAlias www.example.com
Alias /static/admin/ /usr/share/pyshared/django/contrib/admin/static/admin/
Alias /static/mumble/ /srv/mumble-django/pyweb/mumble/static/mumble/
Alias /static/ /srv/mumble-django/htdocs/
Alias /mumble/media/ /srv/mumble-django/pyweb/mumble/media/
WSGIScriptAlias / /srv/mumble-django/mumble-django.wsgi
WSGIDaemonProcess mumble-django threads=25

2
etc/apache2/shared_vhost.conf

@ -18,8 +18,8 @@
# -----------8<--------- cut here
Alias /mumble-django/static/admin/ /usr/share/pyshared/django/contrib/admin/static/admin/
Alias /mumble-django/static/mumble/ /srv/mumble-django/pyweb/mumble/static/mumble/
Alias /mumble-django/static/ /srv/mumble-django/htdocs/
Alias /mumble-django/mumble/media/ /srv/mumble-django/pyweb/mumble/media/
WSGIScriptAlias /mumble-django /srv/mumble-django/mumble-django.wsgi
WSGIDaemonProcess mumble-django threads=25

Loading…
Cancel
Save