1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-11-22 01:02:15 -05:00

working config file

All hulu ad urls--third party urls to be added later
This commit is contained in:
jacobsalmela 2014-10-12 12:26:23 -05:00
parent 4472885191
commit 4b70e7f539

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,6 +27,9 @@ 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|t.hulu.com|t2.hulu.com|doubleclick.net|scorecardresearch.com|ad.doubleclick.net|a1697.b.akamai.net|secure-us.imrworldwide.com|bs.serving-sys.com|ad.doubleclick.net" { $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" {
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")
#}