luyenntk50db_14
Nov 13, 2018Nimbostratus
Irule for https://abc/NEWS/ in F5
Step 1:
I configured one Virtual Server (IP: a.b.c.d; port 443), using SSL Offloading. My confiruring target is when i enter in Web Browser , it'll redirect to I used this irule (http-append) as below:
when HTTP_REQUEST {
if {([HTTP::path] == "/") } { HTTP::redirect "https://[HTTP::host][HTTP::uri]NEWS" } }
After I used this irule, i don't access to ; after i enter Web Browser , it redirected to
Step 2:
And when I added one Virtual Server (IP:a.b.c.d; port 80), using the irule as below:
when HTTP_REQUEST { HTTP::redirect "https://[HTTP::host][HTTP::uri]" }
After using this irule, I access to .
Pls explain to me. And I want to use only Virtual Server and only irule to redirect from to