$HTTP["host"] =~ "www.mydomain.com" { server.document-root = "/home/web/www.mydomain.ie/" $HTTP["url"] =~ "^/showgun/" { dir-listing.activate = "enable" server.document-root = "/home/showgun/" accesslog.filename = "/var/log/lighttpd/showgun-access.log" } }