Forum Discussion
request needs to redirect from https://www.example.com to https://example.com/xyz
Below are the config on HTTP and HTTPS VIP
(HTTP_redirected)
list ltm virtual test-directory-redir
ltm virtual test-directory-redir {
creation-time 2019-06-17:13:17:31
destination X.X.X.X.:http
ip-protocol tcp
last-modified-time 2019-06-18:23:46:04
mask 255.255.255.255
profiles {
http { }
tcp { }
}
rules {
_sys_https_redirect
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
vs-index 43
}
___________________________________________________________________________________________________________
(HTTPS)
list ltm virtual test-directory
ltm virtual test-directory {
creation-time 2019-06-17:13:15:56
destination X.X.X.X:https
ip-protocol tcp
last-modified-time 2019-06-18:23:34:03
mask 255.255.255.255
persist {
dest_addr {
default yes
}
}
policies {
Gzip { }
}
pool Elaa_FII_Pool
profiles {
Elaa_Client_SSL {
context clientside
}
http { }
httpcompression { }
tcp { }
}
rules {
X-Forwarded-For
ends_with_www
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
vs-index 42
}
Recent Discussions
Related Content
* 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
