Forum Discussion
3 Replies
Sort By
- nitassEmployeedo you mean rewirting host header? if yes, you can use HTTP::header replace or HTTP::host (in 11.5 or later) command. HTTP::header https://clouddocs.f5.com/api/irules/HTTP__header.html HTTP::host https://clouddocs.f5.com/api/irules/HTTP__host.html
- Troy_94266Nimbostratus
But I only want to replace the host when the url is ~username. The other traffic destined for www.company.com I want to go there.
- nitassEmployeeyou can check uri using HTTP::uri or HTTP::path command. HTTP::uri https://clouddocs.f5.com/api/irules/HTTP__uri.html HTTP::path https://clouddocs.f5.com/api/irules/HTTP__path.html