Forum Discussion
Venkata_Sandeep
Nimbostratus
Jun 24, 2020How to hide the redirected URI path from users.
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
- Dario_Garrido
Noctilucent
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.
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