Forum Discussion
RF5_247672
Nimbostratus
Oct 17, 2017irule for URL remap
Hi All,
I have a situation where I need some help with an Irule ,
the scenario is when a client access a VIP with the URL " https:///XXXX/./"
,it needs to be remapped to "http://../XXXX/" when...
Kevin_Davies
Nacreous
Oct 17, 2017Maps any of the following requests
https://my.server.com/everything?is=awesome
https://MY.SERVER.COM/everything?is=awesome
https://my.server.com:9000/everything?is=awesome
to backend request
/my.server.com/everything?is=awesome
iRule as follows
when HTTP_REQUEST {
HTTP::uri "/[string tolower [getfield [HTTP::host] {:} 1]][HTTP::uri]"
}
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
