Daniel Corbe wrote:
So, externally I'm using DNS SRV records to get traffic to my proxy server. Once it hits my proxy server though, I want to preserve the domain name portion of the URI, but still route the traffic around from server to server.
Currently I'm using rewritehostport to forward traffic onto another box. This of course changes the field I'm interested in preserving. Is there another way to route traffic around?
Both t_relay() and forward() allow to specify a destination address that is different from the request URI. Have a look at the examples in
http://www.openser.org/docs/modules/1.2.x/tm.html#TRELAY-1
That should leave your R-URI intact.
/Christian
The only other option I see is to use 1 set of SRV records externally and another set of SRV records internally.
Thanks.
-Daniel
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users