Forum Discussion

aweise_7447's avatar
Icon for Nimbostratus rankNimbostratus
Jan 27, 2011

HTTPS redirect based on URI




We have a VIP that sends traffic to an SSL VPN appliance. The VIP is running on 443 and has a simple pool applied to it. However, we'd like to be able redirect users to a specific URL if they type in an incorrect URL.



For example, the correct URL is Users are simply forgetting to type in the URI portion so that it ends up being "". This causes problems and the users are not able to authenticate to the VPN appliance.



Can we have an iRule that does something like this:





switch -glob [string tolower [HTTP::uri]] {


"/" {


HTTP::redirect ""





But instead does this for HTTPS? The SSL is not terminated on the BigIP - it's done on the VPN appliance.





14 Replies