pull/12/merge
Robert Vineyard 9 years ago
commit c952a2e354

@ -14,6 +14,7 @@ server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
server.error-handler-404 = "/Transparent.gif"
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
@ -32,4 +33,4 @@ include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
# This should be a blank file (for speed)
$HTTP["host"] =~ ".*" {
url.rewrite = (".*" => "pihole/index.html")
}
}

@ -49,6 +49,7 @@ sudo curl -o /etc/dnsmasq.conf "https://raw.githubusercontent.com/jacobsalmela/p
sudo curl -o /etc/lighttpd/lighttpd.conf "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/lighttpd.conf"
sudo mkdir /var/www/pihole
sudo curl -o /var/www/pihole/index.html "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/index.html"
sudo curl -o /var/www/Transparent.gif "http://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif"
echo "Turning services back on..."
sudo service dnsmasq start

Binary file not shown.

@ -13,6 +13,7 @@ server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
server.error-handler-404 = "/Transparent.gif"
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
@ -28,5 +29,5 @@ include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
$HTTP["host"] =~ "ads.hulu.com|ads-v-darwin.hulu.com|" {
url.redirect = ( "^/(.*)" => "http://192.168.1.101:8200/MediaItems/19.mov")
url.redirect = ( "^/published/(.*)" => "http://192.168.1.101/black.mp4")
}

@ -15,6 +15,7 @@ server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
server.error-handler-404 = "/Transparent.gif"
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )

Loading…
Cancel
Save