Forum Discussion
sdagar_194989
Nimbostratus
Jul 29, 2015No HTTP to HTTPS redirection for VPN traffic on basis on client source address also add responed to url if URI not contain any word
Requirment :No HTTP to HTTPS redirection for VPN traffic on basis on client source address also add respond to url if URI not contain any word.
In our setup there are 2 VIP's configured with sam...
sdagar_194989
Nimbostratus
Jul 29, 2015when HTTP_REQUEST { set base_pool [LB::server pool] set uri [HTTP::uri] set data_group [HTTP::host]
if { ( [IP::addr [IP::client_addr] equals 10.10.10.10/29 ] ) and ($uri equals "/" ) }
{ pool $base_pool HTTP::respond 301 Location "http://test.check.net/xx/yy" return
} else { HTTP::redirect "https://[HTTP::host][HTTP::uri]" }
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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