Thank you for the information but unfortunately this did not work. My 99-dietpi-pihole.conf did not have this line in it. It actually does not have much in it at all. This is how mine looks:
# Based on: https://github.com/pi-hole/pi-hole/blob/master/advanced/lighttpd.conf.debian
# Admin panel
$HTTP["url"] =~ "^(/html)?/admin/" {
# Create response header for Pi-hole debugger
setenv.add-response-header = (
"X-Pi-hole" => "The Pi-hole Web interface is working!",
"X-Frame-Options" => "DENY"
)
# Allow admin panel access to local fonts
$HTTP["url"] =~ "\.(eot|otf|tt[cf]|woff2?)$" {
setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
}
}
# Block . files from being served, such as .git, .github, .gitignore
$HTTP["url"] =~ "^(/html)?/admin/\." {
url.access-deny = ("")
}
# Block public access to 404 page
$HTTP["url"] =~ "^(/html)?/pihole/" {
$HTTP["remoteip"] !~ "^1(27|92\.168|0|72\.(1[6-9]|2[0-9]|3[0-1]))\." {
url.access-deny = ("")
}
}
I added the line that you mentioned to un-comment and restarted the service and device and still no luck.
Anymore ideas?