Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.3 KiB

  1. # This is an example configuration file for Apache2 that you can use to integrate
  2. # Mumble-Django into an existing VirtualHost and run it under the path /mumble-django.
  3. # Although this should work, I recommend using a dedicated VirtualHost, which can
  4. # easily be done using a subdomain.
  5. #
  6. # For example purposes, I put a complete VirtualHost configuration here. The part
  7. # relevant for mumble-django is marked with comments.
  8. #
  9. <VirtualHost *:80>
  10. ServerName example.com
  11. ServerAlias www.example.com
  12. DocumentRoot /var/www
  13. AddDefaultCharset UTF-8
  14. # -----------8<--------- cut here
  15. Alias /mumble-django/static/ /srv/mumble-django/htdocs/
  16. # for Debian Lenny
  17. Alias /mumble-django/media/ /usr/share/python-support/python-django/django/contrib/admin/media/
  18. # for Debian squeeze(unstable)
  19. #Alias /mumble-django/media/ /usr/share/pyshared/django/contrib/admin/media/
  20. # if self-installed using setup.py
  21. #Alias /mumble-django/media/ /usr/lib/python2.4/site-packages/django/contrib/admin/media/
  22. #Alias /mumble-django/media/ /usr/lib/python2.5/site-packages/django/contrib/admin/media/
  23. WSGIScriptAlias /mumble-django /srv/mumble-django/mumble-django.wsgi
  24. WSGIDaemonProcess mumble-django threads=25
  25. WSGIProcessGroup mumble-django
  26. WSGIScriptReloading Off
  27. # ----------->8--------- cut here
  28. </VirtualHost>