Modifying the Web Interface Configuration

<< Click to Display Table of Contents >>

Navigation:  Peer Global File Service Help > Installation and Configuration > Configuring the Web Interface >

Modifying the Web Interface Configuration

You can modify the configuration of the PMC web interface by modifying a config.ini file.

To modify the web interface configuration:

1.Stop the Peer Management Center Web Service via the Windows Service Panel (services.msc).

2.Use Notepad to modify the config.ini file.

The config.ini file is located in Peer Management Center_INSTALL_FOLDER\Hub\web-configuration\ (where PMC_INSTALL_FOLDER represents the root installation directory of Peer Management Center).

3.Modify the settings.  See Modifying the Web Interface Configuration for details.

4.Once modifications are complete, save the file

5.Restart the Peer Management Center Web Service.

Modifying the config.ini File

The important items to configure in the config.ini file are:

org.eclipse.equinox.http.jetty.http.enabled

Set to "true" to enable HTTP access to the web interface.  If set to "true", the org.eclipse.equinox.http.jetty.http.host and org.osgi.service.http.port items must also be configured in order to enable HTTP access to the web interface.  If set to "false", HTTP access is disabled and the other HTTP-related settings are ignored.

org.eclipse.equinox.http.jetty.http.host

Set to the hostname or IP address via which the web interface can be accessed using HTTP.  Set to "localhost" to enable local access only for HTTP.

org.osgi.service.http.port

Set to the port to be used for HTTP access.

org.eclipse.equinox.http.jetty.https.enabled

Set to "true" to enable HTTPS access to the web interface.  If set to "true", the org.eclipse.equinox.http.jetty.https.host and org.osgi.service.http.port.secure items must also be configured in order to enable HTTPS access to the web interface.  If set to "false", HTTPS access is disabled and the other HTTPS-related settings are ignored.

org.eclipse.equinox.http.jetty.https.host

Set to the hostname or IP address via which the web interface can be accessed using HTTPS.  Set to "localhost" to enable local access only for HTTPS.

org.osgi.service.http.port.secure

Set to the port to be used for HTTPS access.

All settings listed above must be followed by an "=" and a value.  For example, to enable HTTP access, the line in the config.ini file with org.eclipse.equinox.http.jetty.http.enabled should look like:

org.eclipse.equinox.http.jetty.http.enabled=true 

HTTP and HTTPS are configured independently of one another in the config.ini file and as such, can be set to different modes.  For example, HTTPS could be configured in a public mode, while HTTP is set to private ("localhost").

DO NOT modify any other settings in the config.ini.  Doing so may result in the inability of the web interface to start.

Duplicate entries in the config.ini file may also result in the inability of the web interface to start.