Hmm, looking at http://cvs.apache.org/viewcvs.cgi/apache-1.3/src/modules/proxy/mod_proxy.c I could not find this in proxy_cmds[] for version 1.78 of mod_proxy.c nor in the docs to 1.3. In the 2.0 docs at http://httpd.apache.org/docs-2.0/mod/mod_proxy.html its allready documented and I could find it in the 1.71 version of http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/proxy/mod_proxy.c
Could be because the update has not been commited to CVS (ProxyPreserveHost was added to 2.0 about 3 weeks ago, while the last updates to mod_proxy.c on the 1.3 line has been done about 4 weeks ago. Right ? Thanks anyway. Mit besten Gr�ssen, Kind regards, Patrick Hildenbrand > Patrick Hildenbrand > Operations & Technology > SAP Hosting AG & Co. KG > Raiffeisenring 45 > 68789 St. Leon-Rot, Germany > T +49/6227/7-66410 > F +49/6227/7-66301 > E [EMAIL PROTECTED] > http://www.saphosting.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 20. Februar 2002 19:47 To: [EMAIL PROTECTED] Subject: Re: FW: Reverse Proxy Questions The proxy code in cvs for both 2.0 and 1.3 includes an option called ProxyPreserveHost that does just this. |--------+-----------------------------> | | "Hildenbrand, | | | Patrick" | | | <patrick.hildenbran| | | [EMAIL PROTECTED]> | | | | | | 02/20/2002 08:11 AM| | | Please respond to | | | modproxy-dev | | | | |--------+-----------------------------> >--------------------------------------------------------------------------- -------------------------------------| | | | To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> | | cc: | | Subject: FW: Reverse Proxy Questions | >--------------------------------------------------------------------------- -------------------------------------| Hi, i'm not quite shure to hit the right list, but... > is it possible to forward the http request without changing the request > itself like i.e. the alteon loadbalancer does. I.e. > > user requests http://a-host.b.com/one > > on a.b.com I have configured to forward this request to a.b.internal. For > the sake of the application the actual request sent to a.b.internal still > should be http://a-host.b.com/two. So the host part should stay the same > (currently apache does replace the hostname, while the alteons do not). > > using mod_rewrite I configured > ReWriteCond %{HTTP_HOST} a-host > ReWriteRule ^/one(.*)$ http://a.b.internal/one$1 > > any tips ? > (or the right list to ask this question on ?) > Mit besten Gr�ssen, > Kind regards, > > Patrick Hildenbrand
