diff options
author | jacobsalmela <jacob.salmela@gmail.com> | 2014-10-18 04:19:58 +0400 |
---|---|---|
committer | jacobsalmela <jacob.salmela@gmail.com> | 2014-10-18 04:20:01 +0400 |
commit | ac1c5ef3f70a01877135c8556cb65a9ce63b5082 (patch) | |
tree | 2287427e8c25e7fe0bde9665f454adb9ab47405a /block hulu ads | |
parent | a76c01f1378d66e3491c41a55fc0c09419a2cfd1 (diff) |
removed hosts
Diffstat (limited to 'block hulu ads')
-rw-r--r-- | block hulu ads/lighttpd.conf | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/block hulu ads/lighttpd.conf b/block hulu ads/lighttpd.conf index 798ab0a9..2b394e3b 100644 --- a/block hulu ads/lighttpd.conf +++ b/block hulu ads/lighttpd.conf @@ -3,7 +3,7 @@ server.modules = ( "mod_alias", "mod_compress", "mod_redirect", - "mod_rewrite", +# "mod_rewrite" ) server.document-root = "/var/www" @@ -27,9 +27,6 @@ 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"] =~ "ads-v-darwin.hulu.com|ads.hulu.com|a.huluad.com|hulu.112.2o7.net|huludev.112.2o7.net|ll.a.hulu.com|t2.hulu.com|t2.huluim.com|t-ak.hulu.com|track.hulu.com|tw.i.hulu.com|urlcheck.hulu.com|secure-us.imrworldwide.com|core.insightexpressai.com|b.scorecardresearch.com|telemetry.huluad.com|ad.doubleclick.net" { +$HTTP["host"] == "ads-v-darwin.hulu.com|ads.hulu.com|a.huluad.com" { url.redirect = ( "^/(.*)" => "http://192.168.1.101:8200/MediaItems/19.mov") } -#else $HTTP["host"] =~ ".*" { -# url.rewrite = (".*" => "pihole/index.html") -#}
\ No newline at end of file |