<VirtualHost *:80>

    ServerName metanohi.name
    ServerAlias metanohi.name www.metanohi.name nohi.lcl
    ServerAdmin ns@metanohi.name

    DocumentRoot /home/niels/www/meta/nohi

    Alias /robots.txt   /home/niels/www/meta/nohi/extra/robots.txt
    Alias /favicon.ico  /home/niels/www/meta/nohi/extra/favicon.ico
    Alias /favicon.png  /home/niels/www/meta/nohi/extra/favicon.png
    Alias /atom.xml     /home/niels/www/meta/nohi/extra/atom.xml
    Alias /feedicon.png /home/niels/www/meta/nohi/extra/feedicon.png
    Alias /feedlogo.png /home/niels/www/meta/nohi/extra/feedlogo.png
    Alias /static       /home/niels/www/meta/nohi/static
    Alias /heavy        /home/niels/www/meta/nohi/heavy

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

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

    WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>

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

</VirtualHost>

