How To Ads Change Image


#1

Hello there,
First, I use google translate. I apologize for my incorrect writing. I use Pi-Hole. What I want to do is place an image on the page instead of the blocked ads. Is it possible to do this with pi hole? At least I would like to arrange a transaction in this way if possible. I have knowledge of php.


#2

From the “/etc/lighttpd/lighttpd.conf” config file:

server.document-root        = "/var/www/html"
server.error-handler-404    = "pihole/index.php"

Thats the file called upon, default out of the box, to replace ads with a semi blank page/frame or show the block page when a banned domain is addressed directly in the URL.


#3

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.