Attempts by Horizon Clients to connect to Connection Servers over HTTP are silently redirected to HTTPS. In some deployments, you might want to prevent users from entering http:// in their Web browsers and force them to use HTTPS. To prevent HTTP redirection for Horizon Clients, 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.

Procedure

  1. 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.
  2. Add the following lines to the locked.properties file:
    frontMappingHttpDisabled.1=5:*:missing
    frontMappingHttpDisabled.2=3:/error/*:file:docroot
  3. Restart the Connection Server service to make your changes take effect.