Forum Discussion
mohana_322852
Nimbostratus
Jun 02, 2017Need help for redirction of append URI
I have difficulties in redirection-
I want to do a redirection
abc.com to abc.com/act on both http and https
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals"abc.com" or [string tolowe...
mohana_322852
Nimbostratus
Jun 02, 2017when HTTP_REQUEST { if {[string tolower [HTTP::host]] equals"abc.com" or [string tolower [HTTP::host]] equals"abc.com"}{
switch -glob [HTTP::path] { "/" {HTTP::respond 301 Location " https://abc.com/act[HTTP::uri]"}
I would like to withdraw my request. It is working with above iRule.
Thank you
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
