httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: Terminating a connection in mod_proxy
Date Fri, 08 Feb 2008 14:36:40 GMT
On Thu, 7 Feb 2008 19:23:47 -0800
"Peter Belau" <peter.belau@anchorfree.com> wrote:

> 
> Hi,
> 
> I'm trying to figure out how I would send data back trough mod_proxy
> based on a certain request. For instance: upon seeing a GET to
> www.google.com, I'd like to return "Hello world" *without* the
> request ever getting to www.google.com. Would anyone know how to do
> this ?

For a reverse proxy, mod_rewrite.  For a forward or transparent
proxy, mod_security.  Just create a ruleset to test whatever you
want testing.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message