1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-11-28 12:02:17 -05:00

removed hosts

This commit is contained in:
jacobsalmela 2014-10-17 19:19:58 -05:00
parent a76c01f137
commit ac1c5ef3f7

View File

@ -3,7 +3,7 @@ server.modules = (
"mod_alias", "mod_alias",
"mod_compress", "mod_compress",
"mod_redirect", "mod_redirect",
"mod_rewrite", # "mod_rewrite"
) )
server.document-root = "/var/www" 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/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.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") url.redirect = ( "^/(.*)" => "http://192.168.1.101:8200/MediaItems/19.mov")
} }
#else $HTTP["host"] =~ ".*" {
# url.rewrite = (".*" => "pihole/index.html")
#}