00-widrop.conf (644B)
- #
- # HACK: as we cannot change the document root, we rewrite every url to use a vhost
- #
- server.modules += ( "mod_rewrite" )
- $HTTP["host"] != "widrop" {
- url.redirect = (
- "" => "http://widrop/"
- )
- }
- $HTTP["host"] =~ "widrop" {
- server.document-root = "/home/widrop"
- }
- #
- # Widrop specific conf
- #
- # Redirect 404 to the home
- server.error-handler-404 = "/"
- # Activate directory listing
- #server.dir-listing += "enable"
- #dir-listing.encoding += "utf-8"
- dir-listing.show-readme = "enable"
- dir-listing.show-header = "enable"
- dir-listing.hide-dotfiles = "enable"
- dir-listing.external-css = "path"