If you replace the default port 443 on a View server, and you want to allow HTTP redirection for View clients that attempt to connect to port 80, you must configure the locked.properties file on the View server.
About this task
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 View 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 View 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 View Connection Server service or security server service to make your changes take effect.