...
Redirection to external URLs
Section | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Panel | |||||||||||
|
Proxy with X-Forwarded headers configured
This is the most flexible setup. To use these parameters, you must uncomment the section in web.xml where these parameters are defined or [preferably] override them in config.properties (Weblogic) or frevvo.xml (Tomcat). If you uncomment these settings, you MUST set these parameters. The server will throw an error if they are missing.
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' server:
- X-Forwarded-Protocol: 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
...
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.
...