Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Redirection to external URLs

 

Section


Column
width75%


Info

This information applies only to v5 and higher.

Image RemovedImage Added

How redirects to external URLs.


Column
width240px

On This Page:

Table of Contents
maxLevel1


...

When your proxy is configured with the appropriate headers,  can use these headers to determine the protocol, host and port of the original request and send any redirects/forwards to the proper URL. For this configuration, your proxy must add three parameters to the HTTP request forwarded to the '  server:

  • X-Forwarded-ProtocolProto: the protocol of the incoming request (http or https).
  • X-Forwarded-Host: the host name of the incoming request
  • X-Forwarded-Port: the port of the incoming request

...

The names of these parameters are configurable in 's web.xml or config.properties. For example, if you prefer to use a parameter called X-Fwd-Scheme instead of X-Forwarded-ProtocolProto, simply change the appropriate context parameter and make sure that your proxy is setting a header with the new name.

...

If you do not have a proxy server or do not wish to setup your proxy with X-Forwarded-* headers, you can configure 's ''frevvo.forms.server.external.url'' context parameter. Once again, you set this parameter in config.properties (Weblogic) or frevvo.xml (Tomcat). This parameter contains the complete URL e.g. https://ext.my.com:8384/.  will always redirect to this server. Captcha requests will use the same protocol (HTTP or HTTPS) as the external URL.

No proxy or external URL

If you do not have a proxy and do not set an external URL,  will simply use the protocol, host and port of the inbound request i.e. it will assume that the server on which it received the request is the externally visible server.

No proxy or external URL

If you do not have a proxy and do not set an external URL,  will simply use the protocol, host and port of the inbound request i.e. it will assume that the server on which it received the request is the externally visible server.

...