Please take the time to read our release notes before updating to a new release.
They are intended to help you giving you a good start with a new release and may contain valuable hints.
Qouting from https://discourse.pi-hole.net/t/pi-hole-ftl-v5-20-1-web-v5-18-1-and-core-v5-15-released/60495:
Notable Changes in this release
(...)
If you have been using IP blocking, and therefore custom.php
or some other mechanism to display a page for blocked queries, you will need to make a one-time configuration change to inform lighttpd
of the 404 handler, along the lines of:
Debian:
echo 'server.error-handler-404 := "/path/to/your/blockpage.php"' > /etc/lighttpd/conf-available/08-pihole-block-ip.conf
lighty-enable-mod pihole-block-ip
service lighttpd restart
Fedora:
echo 'server.error-handler-404 := "/path/to/your/blockpage.php"' > /etc/lighttpd/conf.d/pihole-block-ip.conf
echo 'include "/etc/lighttpd/conf.d/pihole-block-ip.conf"' >> /etc/lighttpd/lighttpd.conf
service lighttpd restart
(...)
1 Like