pihole new installation Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
frezeen
Posts: 12
Joined: Thu Aug 20, 2020 4:30 pm

pihole new installation

Post by frezeen »

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
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: pihole new installation

Post by Joulinar »

Hi,

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
if needed, you would need to remove the hash (#) in front of server.error-handler-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:~#
Don't forget to restart your web server afterwards
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
frezeen
Posts: 12
Joined: Thu Aug 20, 2020 4:30 pm

Re: pihole new installation

Post by frezeen »

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:~#
its enabled, i set it in install wizard
errata corrige: when i go to a blocked site i got connection refused error
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: pihole new installation

Post by Joulinar »

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
frezeen
Posts: 12
Joined: Thu Aug 20, 2020 4:30 pm

Re: pihole new installation

Post by frezeen »

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
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: pihole new installation

Post by Joulinar »

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
Post Reply