
joshua at slive
Dec 11, 2001, 9:24 AM
Post #2 of 2
(85 views)
Permalink
|
> From: Michael Reutter [mailto:list [at] meinsenf] > I use mod_rewrite as proxy: > ^(.*)$ http://proxy/$1 [P] > > example-request: "http://webserver/" > apache fetches the result from "proxy", but there is written > "proxy" in the host-header!!! > I want apache write not "proxy" in the host-header, but "webserver"! > > any hint, which file to hack??? > It sounds like what you really want is port-forwarding, rather than a proxy server. Your OS can probably do that for you. If you really want a hacked mod_proxy, the file to go at is probably src/modules/proxy/proxy_http.c The necessary changes look pretty simple. Joshua. --------------------------------------------------------------------- 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 [at] httpd For additional commands, e-mail: users-help [at] httpd
|