Forum Discussion
Ram_63318
Nimbostratus
May 29, 2008Redirection
I am trying to redirect 216.23.166.46(VIP) to "http://216.23.166.46/livenation" but so far I am doing something wrong where it wouldn’t redirect or it redirects but I get the page cannot be displayed ...
Ram_63318
Nimbostratus
Jun 06, 2008Colin,
I have HTTPS virtual server but when i go to https://vipnation.com or https://www.vipnation.com it should be redirecting to https://vipnation.com/livenation/ but it doesn't seem to be working.
It works for HTTP virtual server.When I go to http://vipnation.com it does redirect to http://vipnation.com/livenation/
irule that i am using for HTTPS virtual server would be
when HTTP_REQUEST {
if { ! ([string tolower [HTTP::uri]] starts_with "/livenation") } {
HTTP::redirect "https://[HTTP::host]/livenation"
}
}
I am pretty sure that I am doing something wrong here because if go to the server directly https://206.82.216.130/livenation it works fine.
Please let me know if you see something wrong here.
Thank you,
Ram Tangella
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