Forum Discussion
Michael_-_Harr1
Nimbostratus
Jan 07, 2014Need some help with IRULE to rewrite URI to client like "Redirection" for SSL URL
Need some help with IRULE to rewrite URI to client like "Redirection" for SSL URL https:\mobile.test.org to https:\mobile.test.org/www/public/login.html
koenning_107182
Nimbostratus
Jan 07, 2014Hi Michael, in order to see the http traffic on BIG-IP, you will need to terminate the SSL traffic. You can do that by adding a client ssl profile with your certificates. If you want, you can even re-encrypt server side with a server side ssl profile. If you want to issue a redirect when people access https://mobile.test.org to https://mobile.test.org/www/public/login.html you can do that with the following iRule: (http events need the http profile as well)
when HTTP_REQUEST {
if { [HTTP::uri] == "/" } {
HTTP::redirect "https://mobile.test.org/www/public/login.html"
}
}
regards,
Christian
- Michael_-_Harr1Jan 07, 2014
Nimbostratus
Thank you very much Christian! That IRULE worked perfectly.
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