Forum Discussion
Eric_Frankenfie
May 05, 2011Nimbostratus
I don't have anything setup yet, just in the planning stage. I am good with setting the Proxy server as the node in the pool. Does this look correct for rewriting the URL?
Request from App to VS: https://customer1.
Request from VS to Proxy: https://subdomain.customer.com/atchi/app.cgi
if { [string tolower [HTTP::path]] contains "customer1" }
HTTP::header replace "subdomain.customer1.com"
HTTP::uri "/atchi/app.cgi"
if { [string tolower [HTTP::path]] contains "customer2" }
HTTP::header replace "subdomain.customer2.com"
HTTP::uri "/atchi/app.cgi"