PiPass / blockpage

A temporary unblock solution and blockpage for your Pi-Hole system
BSD 3-Clause "New" or "Revised" License
196 stars 14 forks source link

Some blocked websites trigger default blockpage #39

Closed jtovar43 closed 5 years ago

jtovar43 commented 5 years ago

Some blocked websites seem to trigger the default pihole blockpage instead of the PiPass one.

roenw commented 5 years ago

Could you provide more details on when this happens?

jtovar43 commented 5 years ago

I haven't been able to identify a pattern of when this occurs but this was the most recent site it happened on.

JoeSchubert commented 5 years ago

Am I missing the default blockpage for pihole? I've literally never seen one.

jtovar43 commented 5 years ago

You have to have had the blocking mode set to IP. The default block mode doesn’t show a block page.

roenw commented 5 years ago

I have my blocking mode set to IP as well. Are you using NGiNX or lighttpd? Can you send your configuration file for the respective web server?

jtovar43 commented 5 years ago

I'm using lighttpd.

Here's the configuration profile: lighttpd.txt

roenw commented 5 years ago

Change server.error-handler-404 = "pihole/index.php" to server.error-handler-404 = "index.php"

This is automated in the next update. I'm 95% sure this will fix the issue.

On Jun 13, 2019, at 11:02 AM, jtovar43 notifications@github.com wrote:

I'm using lighttpd.

Here's the configuration profile: lighttpd.txt

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.