$HTTP["host"] =~ "your\.monitorix\.vhost$" { server.document-root = "/var/www/localhost/htdocs/monitorix" alias.url = ( "/cgi" => "/var/www/localhost/cgi/" ) }