<VirtualHost *:80>

    ServerName films.metanohi.name
    ServerAlias www.films.metanohi.name films.lcl
    ServerAdmin ns@metanohi.org

    DocumentRoot /home/niels/www/meta/subsites/films

    Alias /robots.txt   /home/niels/www/meta/subsites/films/robots.txt
    Alias /favicon.ico  /home/niels/www/meta/subsites/films/favicon.ico
    Alias /favicon.png  /home/niels/www/meta/subsites/films/favicon.png
    Alias /static       /home/niels/www/meta/subsites/films/static
    Alias /previews     /home/niels/www/meta/subsites/films/previews
    Alias /films        /home/niels/www/meta/heavy/films
    Alias /films.wsgi   /home/niels/www/meta/subsites/films/films.wsgi
    Alias /apache-config-template /home/niels/www/meta/subsites/films/apache-config-template

    <Directory /home/niels/www/meta/subsites/films>
        Order allow,deny
        Allow from all
    </Directory>

    WSGIDaemonProcess films.metanohi.name processes=2 threads=15 display-name=%{GROUP}
    WSGIProcessGroup films.metanohi.name

    WSGIScriptAlias / /home/niels/www/meta/subsites/films/films.wsgi

	LogLevel warn
	ErrorLog /var/log/apache2/films.metanohi.name-error.log
	CustomLog /var/log/apache2/films.metanohi.name-access.log combined

</VirtualHost>