server.modules = ( "mod_access", "mod_compress", "mod_accesslog" ) ## a static document-root, for virtual-hosting take look at the ## server.virtual-* options server.document-root = "/home/chip/bench/htdocs" ## where to send error-messages to server.errorlog = "/home/chip/bench/lighttpd/logs/error.log" # mimetype mapping mimetype.assign = ( ".html" => "text/html" ) ## send a different Server: header ## be nice and keep it at lighttpd #server.tag = "lighttpd" #### accesslog module accesslog.filename = "/home/chip/bench/lighttpd/logs/access.log" server.port = 8080 ## bind to localhost (default: all interfaces) #server.bind = "grisu.home.kneschke.de" server.username = "chip" server.groupname = "chip" #### compress module compress.cache-dir = "/tmp/cache/lighttpd" compress.filetype = ("text/html") #### SSL engine #ssl.engine = "enable" #ssl.pemfile = "/home/chip/bench/test.pem" server.event-handler = "freebsd-kqueue" server.indexfiles = ("index.html") server.dir-listing = "enable" $HTTP["host"] == "10.0.0.107" { server.document-root = "/home/chip/bench/htdocs" server.name = "10.0.0.107" }