on a new fresh dietpi install , i add pihole and set blockmode ON in wizard process.
issue: i got a “not found page” and not the pihole page for add site to whitelist.
what im wrong?
thanks to all
on a new fresh dietpi install , i add pihole and set blockmode ON in wizard process.
issue: i got a “not found page” and not the pihole page for add site to whitelist.
what im wrong?
thanks to all
Hi,
many thanks for your message. I guess you would need to enable PiHole blocking page. Pls can you check
cat /etc/lighttpd/conf-available/99-dietpi-pihole.conf |grep 404
if needed, you would need to remove the hash (#) in front of server.error-handler-404
root@DietPi4:~# cat /etc/lighttpd/conf-available/99-dietpi-pihole.conf |grep 404
# Enable blocking page via 404 handler
server.error-handler-404 = "/html/pihole/index.php"
root@DietPi4:~#
Don’t forget to restart your web server afterwards
root@DietPi:~# cat /etc/lighttpd/conf-available/99-dietpi-pihole.conf |grep 404
# Enable blocking page via 404 handler
server.error-handler-404 = "/html/pihole/index.php"
root@DietPi:~#
its enabled, i set it in install wizard
errata corrige: when i go to a blocked site i got connection refused error
means you are not able to open http:///html/pihole/index.php ??
no, my error… i read pihole cant open “allow select page” for blocked https url, it work for http url only.
i test with a http domain and page to ask me for to allow the blocked site is up and present
sorry
ok I will mark the topic as solved for now