From: Ivan Ristic <ivanr@we...> - 2004-11-21 18:14:21
----- Original Message -----
Subject: [mod-security-users] Restricting a forward proxy
From: Charles Duffy <cduffy@...>
> I wish to configure Apache to support CONNECT-based proxying to a single
> destination host and port only, and deny all other proxy requests
> (CONNECT-based and otherwise). mod_proxy, as written, appears to be too
> weak to allow this (no AllowProxy directive for whitelisting the single
> allowed target address, no obvious-to-me way to disallow all methods but
> CONNECT), so I'm interested in using mod_security to implement these
Perhaps you should be looking at mod_rewrite instead, since it
is designed for that sort of stuff.
Have a look at the rewrite guide, under the section "URL-Restricted
Since you only want to allow one site your configuration would
probably be simpler.
Get latest updates about Open Source Projects, Conferences and News.