cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

How to hide the redirected URI path from users.

Venkata_Sandeep
Nimbostratus
Nimbostratus

In my current setup i have a below irule applied to virtualserver.

 

when HTTP_REQUEST {

log local0. "host is: [HTTP::host], port is: [TCP::local_port]"

   if { [HTTP::host] equals "abc.example.com" and [TCP::local_port] == 443 } {

     HTTP::redirect "https://abc.example.com/abap/index.html"

 

   }

}

 

As I'm using HTTP::redirect users are able to see the entire path(/abap/index.html) in the browser.

we just need to hide the redirected path(/abap/index.html) from the user. 

can someone help me in writing it.

1 REPLY 1

Hello Venkata.

 

Try this:

when HTTP_REQUEST { log local0. "host is: [HTTP::host], port is: [TCP::local_port]" if { [HTTP::host] equals "abc.example.com" and [TCP::local_port] == 443 } { HTTP::uri abap/index.html } }

Regards,

Dario.

Regards,
Dario.