Forum Discussion
Gbps_31870
Jun 10, 2012Nimbostratus
Re-write HTTP host iRule
Hi,
I would like to know if it is possible to re-write the HTTP host header by F5, and send it to one server. Then, once the server response is received, re-write the HTTP host header again ...
Richard__Harlan
Jun 11, 2012Historic F5 Account
Yea it should be no problem
when HTTP_REQUEST {
HTTP::header replace Host "newhost.example.com"
}
when HTTP_RESPOND {
HTTP::header replace Host "oringal.example.com"
}
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