From 4fd49fc3f924868480887ee1392d2be2d11ea41f Mon Sep 17 00:00:00 2001 From: wforums Date: Tue, 8 Sep 2015 17:23:32 +0200 Subject: [PATCH] Suggestion for #31 A suggestion for issue #31 --- advanced/lighttpd.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/advanced/lighttpd.conf b/advanced/lighttpd.conf index 1c3ed076..9e2691f1 100644 --- a/advanced/lighttpd.conf +++ b/advanced/lighttpd.conf @@ -34,5 +34,8 @@ $HTTP["url"] =~ "^/pihole/" { # Rewrites all URLs to the /var/www/pihole/index.html $HTTP["host"] =~ ".*" { - url.rewrite = (".*" => "pihole/index.html") + url.rewrite = ( + "^/pi-hole-admin/admin.php.*" => "pihole/admin.html", + ".*" => "pihole/index.html" + ) } \ No newline at end of file