server.modules = ( ..., "mod_proxy_core", .. ) ## works $HTTP["url"] =~ "^/proxyme/" { proxy-core.balancer = "round-robin" proxy-core.protocol = "http" proxy-core.backends = ( "wikipedia.org" ) ## to be done proxy-core.rewrite-response = ( "Location" => ( "^http://en.wikipedia.org/(.*)" => "http://127.0.0.1:1025/$1" ) ) proxy-core.rewrite-request = ( "URI" => ( "^/proxyme(/.*)" => "$1" ) ) }The above config forwards everything from /proxyme/ to wikipeedia.org. It resolves the domain wikipedia.org and is using one of the address to forward the request. As you already see there will be a request and response header rewriter for rewriting Location headers and URIs.
Mod_proxy_core Commited to Svn
mod_proxy_core just got commited to SVN and is now available to testers.