If you replace the default port 443 on a Connection Server, and you want to allow HTTP redirection for Horizon Clients that attempt to connect to port 80, you must configure the locked.properties file on the Connection Server.
Note: This procedure has no effect if you off-load SSL to an intermediate device. With SSL off-loading in place, the HTTP port on the Connection Server provides service to clients.
Prerequisites
Verify that you changed the default port number from 443. If you use the default values that are configured during installation, you do not have to perform this procedure to preserve the HTTP redirection rule.
Procedure
- Create or edit the locked.properties file in the gateway configuration folder on the Connection Server computer.
For example:
install_directory\VMware\VMware View\Server\sslgateway\conf\locked.properties
The properties in the
locked.properties file are case sensitive.
- Add the following lines to the locked.properties file:
frontMappingHttpDisabled.1=5:*:moved:https::port
frontMappingHttpDisabled.2=3:/error/*:file:docroot
frontMappingHttpDisabled.3=1:/admin*:missing
frontMappingHttpDisabled.4=1:/view-vlsi*:missing
In the preceding lines, the variable port is the port number to which the client should connect.
If you do not add the preceding lines, the port remains 443.
- Restart the Connection Server service to make your changes take effect.