The Apache::Gateway module implements a gateway using LWP with assorted optional features. From the HTTP/1.1 draft, a gateway is:
[a] server which acts as an intermediary for some other server. Unlike a proxy, a gateway receives requests as if it were the origin server for the requested resource; the requesting client may not be aware that it is communicating with a gateway.
Standard gateway features implemented using LWP
Automatic failover with mirrored instances
FTP directory gatewaying
Available from CPAN. See the module manpage for more information.
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).