[OT] minimalist web server

I V ivlenin at gmail.com
Sun Dec 2 04:17:11 EST 2007


On Sat, 01 Dec 2007 19:02:41 -0800, Daniel Fetchinson wrote:
> The reason I need this is that my current best strategy to avoid ads in
> web pages is putting all ad server names into /etc/hosts and stick my
> local ip number next to them (127.0.0.1) so every ad request goes to my
> machine. I run apache which has an empty page for 404 errors so I'll

In this case, do you need a webserver at all? If your browser tries to 
access a web server on 127.0.0.1 and there isn't one, won't the result, 
in most cases, be more or less the same as if the server returned a 404?



More information about the Python-list mailing list