How to configure ProxySG(SWG Edge) for HTTP Redirect
search cancel

How to configure ProxySG(SWG Edge) for HTTP Redirect

book

Article ID: 263009

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

You can configure ProxySG(SWG Edge) to perform simple HTTP 302 redirect from one URL to another.

Environment

  • ProxySG (SWG Edge)

Resolution

  • Access ProxySG Visual Policy Manager(VPM)
  • Create new CPL Layer: Select  Add A Layer -> CPL -> Add
  • Under created CPL layer paste below code(modify domains as per requirements):
define action ReturnRedirect
request_redirect( 302, ".*", "https://www.bbc.com" )
end

<Proxy>
    url.domain=//www.abc.com/ action.ReturnRedirect(yes)
  • This example will redirect from "www.abc.com"  to "https://www.bbc.com")

 

Caveats:

  • SSL Interception is required for HTTP redirection
  • Both URLs has to be allowed by policy