Forum Discussion

Michael_-_Harr1's avatar
Michael_-_Harr1
Icon for Nimbostratus rankNimbostratus
Jan 07, 2014

Need 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

 

2 Replies

  • Hi 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