For most annoying ad sites I add mapping to 127.0.0.2 in /etc/hosts file and I use lighttpd binded to that ip to show empty page or empty image for requests (using regexp). Are there any alternatives, as lighttpd is not easy to update using macports (I need to deactivate and reactivate it)?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
||||
|
|
The simplest alternative is not to run a web server at all. This generally makes little difference in the browser, compared to returning an empty page. Otherwise, lightweight web servers available through MacPorts include Abyss, Cheetah, Lighttpd, LWS, Mathopd, Mongoose, Monkeyd, Pico Server, Webfs, … It's hard to give a specific recommendation since you don't explain what you don't like about Lighttpd. |
|||||||||
|