Forum Discussion
Shivanshu1_2228
Nimbostratus
Jul 02, 2018How to redirect port 8443 to 8444
Please help to write irule as below https://abc.domain.com:8080/productanalytics/ to
https://abc.domain.com:8444/productanalytics/
I have already created a VIP for port 8080 and 8444.
- Andy_McGrath
Cumulonimbus
You can use a Policy for this, which is quicker and easier to manage. If you really want to use an iRule to redirect all request from https://abc.domain.com:8080 to https://abc.domain.com:8444:
when HTTP_REQUEST { HTTP::redirect https://abc.domain.com:8444[HTTP::uri] }
If you only want to redirect /productanalytic/ then:
when HTTP_REQUEST { if {[HTTP::uri] starts_with "/productanalytic/"} { HTTP::redirect https://abc.domain.com:8444[HTTP::uri] } }
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