httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Peltzer <goochru...@gmail.com>
Subject Re: [users@httpd] Re: redirect all requests to /dev/null
Date Sat, 01 Jan 2005 01:11:56 GMT
On Sat, 1 Jan 2005 01:00:10 +0000 (GMT), Nick Kew <nick@webthing.com> wrote:
> > > I had heard somewhere that online adverts could be blocked by use of
> > > /etc/hosts, so I added a few lines to my /etc/hosts file:
> > >
> > > 127.0.0.1 ad.doubleclick.net
> > > 127.0.0.1 ads.osdn.com
> 
> Use an IP that resolves to nowhere instead of that.  Or something
> bogus like 255.255.255.254.

That works great, but doesn't answer the question: how can I resolve
request that may or may not have any path specifier or file specifier
or url parameters to a single file (such as /dev/null)?

-- Matthew Peltzer
-- goochrules@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message