Forum Discussion
jason_millan_40
Nimbostratus
Jun 08, 2016ProxyPass URI Rewrite with wildcard matching
We are loooking to do some URI rewrites with the Proxypass irule that acheive the following:
-> -> -> ->
so the unique part of the URI could be evergrowing in the order of thousan...
Yann_Desmarest
Cirrus
Jun 08, 2016Hi,
Below an irule that may help you to start :
when HTTP_REQUEST {
if { [HTTP::host] eq "hostA" } {
can set hostname in v11.5+ otherwise, should use HTTP::header replace Host "hostB"
HTTP::host "hostB"
}
Rewrite uri
HTTP::uri "/pathB/[URI::basename]"
}
Yann_Desmarest
Cirrus
Jun 08, 2016For the response rewrite, you will need a stream profile
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