logo

widrop

[mirror] WiDrop distribution, now defunct git clone https://hacktivis.me/git/mirror/widrop.git

00-widrop.conf (644B)


  1. #
  2. # HACK: as we cannot change the document root, we rewrite every url to use a vhost
  3. #
  4. server.modules += ( "mod_rewrite" )
  5. $HTTP["host"] != "widrop" {
  6. url.redirect = (
  7. "" => "http://widrop/"
  8. )
  9. }
  10. $HTTP["host"] =~ "widrop" {
  11. server.document-root = "/home/widrop"
  12. }
  13. #
  14. # Widrop specific conf
  15. #
  16. # Redirect 404 to the home
  17. server.error-handler-404 = "/"
  18. # Activate directory listing
  19. #server.dir-listing += "enable"
  20. #dir-listing.encoding += "utf-8"
  21. dir-listing.show-readme = "enable"
  22. dir-listing.show-header = "enable"
  23. dir-listing.hide-dotfiles = "enable"
  24. dir-listing.external-css = "path"