If you replace the default port 443 on a Horizon 7 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 Horizon 7 server.
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 Horizon 7 server provides service to clients.
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.
- Create or edit the locked.properties file in the SSL gateway configuration folder on the Connection Server or security 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 or security server service to make your changes take effect.