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
pihole new installation Topic is solved
Re: pihole new installation
Hi,
many thanks for your message. I guess you would need to enable PiHole blocking page. Pls can you check
if needed, you would need to remove the hash (#) in front of server.error-handler-404
Don't forget to restart your web server afterwards
many thanks for your message. I guess you would need to enable PiHole blocking page. Pls can you check
Code: Select all
cat /etc/lighttpd/conf-available/99-dietpi-pihole.conf |grep 404
Code: Select all
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:~#
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: pihole new installation
Code: Select all
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:~#
errata corrige: when i go to a blocked site i got connection refused error
Re: pihole new installation
means you are not able to open http://<YourLocal-IP>/html/pihole/index.php ??
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: pihole new installation
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
i test with a http domain and page to ask me for to allow the blocked site is up and present
sorry
Re: pihole new installation
ok I will mark the topic as solved for now 

Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team