diff options
-rw-r--r-- | block hulu ads/lighttpd.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/block hulu ads/lighttpd.conf b/block hulu ads/lighttpd.conf index 2e6618e5..2defeb2a 100644 --- a/block hulu ads/lighttpd.conf +++ b/block hulu ads/lighttpd.conf @@ -25,4 +25,9 @@ compress.filetype = ( "application/javascript", "text/css", "text/html # 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"
\ No newline at end of file +include_shell "/usr/share/lighttpd/include-conf-enabled.pl" + +$HTTP["host"] == "ads-v-darwin.hulu.com|ad.hulu.com|t.hulu.com|t2.hulu.com|doubleclick.net|b.scorecardresearch.com" { +url.redirect = ( +"^/(.*)" => "http://192.168.1.101:8200/MediaItems/19.mov", +)
\ No newline at end of file |