Forum Discussion
Pete_Paiva_7147
Aug 23, 2013Nimbostratus
URL hostname rewrite
Got a question from one of my application owners in regards to Remedy (BMC Software). They're looking to have the LTM do the following:
User types in URL http://support.mycompany.com
...
Kevin_Stewart
Aug 23, 2013Employee
Two options:
-
You could maintain a data group that maps the name to the IP. Example:
datagroup (ex. my_server_dg): 10.10.42.10 := server1.domain.com 10.10.42.11 := server2.domain.com 10.10.42.12 := server3.domain.com iRule: when HTTP_REQUEST_SEND { clientside { HTTP::header replace "Host" [class match -value [LB::server addr] equals my_server_dg] } }
-
If you have internal DNS you could do a quick reverse lookup to get the name.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects