# kate: hl Apache Configuration # This is an example configuration file for Apache2 that creates # a dedicated VirtualHost specifically for mumble-django. This is the # recommended setup. ServerName example.com ServerAlias www.example.com Alias /static/admin/ /usr/share/pyshared/django/contrib/admin/static/admin/ 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 WSGIProcessGroup mumble-django WSGIScriptReloading Off # Cache optimization - not necessarily needed for MD, but nice to have :) FileETag None Header unset ETag Header set Cache-Control "max-age=86400, must-revalidate" # compress content AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript image/png image/jpeg image/gif # properly handle requests coming from behind proxies Header append Vary User-Agent