Forum Discussion
SANTOSH79_21923
Feb 13, 2018Altostratus
HTTP to HTTPS redirect with URI editing.
Hi,
I am looking for HTTP (internal server) to HTTPS (external server) redirect.
link for internal server : http://abc.com/IT/Team/Data/
external link : https://xyz.com/location...
- Feb 14, 2018
Ok got the solution following rule works.
when HTTP_REQUEST { if {[HTTP::uri] contains "/IT/Team/"} { set uri [string map {"/IT/Team/" "/location/"} [HTTP::uri]] HTTP::redirect "https://xyz.com$uri" } }
boneyard
Feb 13, 2018MVP
that will require an iRule, just search for path replacement irule or such here and you will find quite some examples.
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