This rule rewrites one of three response headers: Location, Content-Location, and URI. For example, the server-facing Location response header includes a path that begins with /test-war/. Using the information configured in the rewrite response header rule, PingAccess rewrites http://private/test-war/ with a public-facing path such as http://public/path/.

  1. Click Access and then go to Rules > Rules.
  2. Click + Add Rule.
  3. In the Name field, enter a unique name up to 64 characters.

    Special characters and spaces are allowed.

  4. From the Type list, select Rewrite Response Header.
  5. If the target host needs to be explicitly defined, clear the Any Site Target Host check box.

    When you select the Any Site Target Host check box, PingAccess will rewrite the response header URI if it contains a domain defined in a site's target host list.

  6. If you clear the Any Site Target Host check box, enter the domain name used by the backend site in the Server-Facing URI field.
  7. In the Public Path field, enter a valid URI path that you want to write into the URI.

    This must be a valid URI path and begin and end with a forward slash ( /).

    /importantstuff/ or /

  8. Click Save.