Forum Discussion
Dinesh_104024
Nimbostratus
Sep 26, 2010Would like to change the server side host name
We would like to have an i-rule which will change the server side url i.e.user will access the site using hostname like www.xyz.com and when request hit the server it should get rewrite with www.xyz....
hoolio
Cirrostratus
Sep 27, 2010It sounds like the TCP layer is working correctly, but the virtual host on the web server is configured only for www.xyz.com:7080. You can have LTM insert this using an iRule like:
when HTTP_REQUEST {
Check if host header doesn't end with :7080 already
if {not ([HTTP::host] eq "www.xyz.com:7080")}{
Replace the host header
HTTP::header replace Host "www.xyz.com:7080"
}
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
