Changing the Root Context (optional)

Jive Apache uses the context element of a web application to delegate a URL to your Jive web application. You can set the context to something other than root, if needed.

By default, Jive installs and configures using the root context. For example, http://yourcommunity.com. This is the recommended configuration and default installation behavior, but you can also specify a non-root context such as http://yourcommunity.com/engage. If you've already installed Jive, see Changing the Root Context on an Existing Installation to change the context to something other than root.

Important: Never use "community" as your non-root context because the application already uses this string.

To change the root context on a new install:

  1. Add the non-root context to the startup property by using the following command, where "engage" is an example of adding new context. Setting this property makes the Jive web application available at http://yourcommunity.com/engage instead of http://yourcommunity.com.
    jive set webapp.context engage
  2. Restart the Web Application node by using the following command.
    jive restart webapp
  3. Restart the Jive Apache service by using the following command.
    jive restart httpd

Changing the Root Context on an Existing Installation

Use these instructions if you've already installed Jive, and you need to change the context to something other than root.

To change the root context on an existing installation:

  1. Add the non-root context to the startup property by using the following command, where "engage" is an example of adding new context. Setting this property makes the Jive web application available at http://yourcommunity.com/engage instead of http://yourcommunity.com.
    jive set webapp.context engage
  2. Change the jiveURL system property to reflect the new context for the web application. To do this, go to Admin Console: System > Management > System Properties and click the edit icon. For more on the jiveURL, see Changing the jiveURL.
  3. Restart the Web Application node by using the following command.
    jive restart webapp
  4. Restart the Jive Apache service by using the following command.
    jive restart httpd