server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", # "mod_rewrite" ) server.document-root = "/var/www" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "www-data" server.groupname = "www-data" server.port = 80 index-file.names = ( "index.php", "index.html", "index.lighttpd.html" ) url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" ) # default listening port for IPv6 falls back to the IPv4 port include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port include_shell "/usr/share/lighttpd/create-mime.assign.pl" include_shell "/usr/share/lighttpd/include-conf-enabled.pl" $HTTP["host"] =~ "a.dlqm.net|ads-a-darwin.hulu.com|ads-bid.l.doubleclick.net|ads-v-darwin.hulu.com|ads-v-darwin.hulu.com.c.footprint.net|amch.questionmarket.com|assets.huluim.com|bs.serving-sys.com|cdn.innovid.com|core.insightexpressai.com|dart.l.doubleclick.net|data.agkn.com|ds.serving-sys.com|dts.innovid.com|googleads4.g.doubleclick.net|hulu-darwin.fms.c.footprint.net|hulu-pubnet.telemetryaudit.com|p.hulu.com|p.hulu.com|pagead.l.doubleclick.net|pagead.l.doubleclick.net|s.innovid.com|sb.scorecardresearch.com|secure-us.imrworldwide.com|stats.l.doubleclick.net|t.hulu.com|t2.hulu.com|tapestry.tapad.com|telemetry.huluad.com|ts.vindicosuite.com|view.atdmt.com.nsatc.net|vindicoasset.edgesuite.net" { url.redirect = ( "^/(.*)" => "http://192.168.1.101:8200/MediaItems/19.mov") }