Forum Discussion
mikeshermanit_2
Nimbostratus
Feb 27, 2017Redirect to different VS - iRule
I have two VS one listening on port 80 and the other 443 and they share the same IP.
They are two different back-end servers.
Right now SSL traffic is only flowing to the VS listening on ...
Amine_Kadimi
MVP
Feb 27, 2017If I understand correctly, you want to proxy the traffic going to example.com/example.asp to the http backend server which is already existing on F5.
If this is the case, and while redirecting to a VS should also work, you can instead directly select your existing http pool or more specifically a member of the pool:
when HTTP_REQUEST {
if { [HTTP::path] equals "example.asp"} {
SSL::disable serverside
pool your_http_pool_name member 1.2.3.4 80
or if you don't want to specify the member:
pool your_http_pool_name
}
}
Note: your example with if { [HTTP::host] equals "example.com/example.asp" } is not correct because the host part is only 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