Forum Discussion

SANTOSH79_21923's avatar
Icon for Altostratus rankAltostratus
Feb 13, 2018

HTTP to HTTPS redirect with URI editing.

Hi,   I am looking for HTTP (internal server) to HTTPS (external server) redirect.   link for internal server : external link :
  • SANTOSH79_21923's avatar
    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 "$uri" } }