<VirtualHost *:80>
ServerName pet.debian.net
ServerAdmin ansgar@debian.org

LogLevel warn

DocumentRoot /srv/pet.debian.net/htdocs/
Alias        /static/  /srv/pet.debian.net/pet/web/static/

RedirectMatch ^/$ http://pet.alioth.debian.org/

<Directory /srv/pet.debian.net/htdocs>
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>

<Directory /srv/pet.debian.net/pet/web/static>
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>

WSGIApplicationGroup pet
WSGIDaemonProcess pet user=pet group=pet processes=1 threads=4 python-path=/srv/pet.debian.net display-name="wsgi: pet"
WSGIProcessGroup pet
WSGIScriptAlias / /srv/pet.debian.net/pet.wsgi
</VirtualHost>
