Changing 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 required.
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
.
Never use community
as your non-root context because the application already uses this string.
Changing root context on a new install
To change the root context on a new install:
-
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 athttp://yourcommunity.com/engage
instead ofhttp://yourcommunity.com
.jive set webapp.context engage
-
Restart the Web Application node by using the following command.
jive restart webapp
-
Restart the Jive Apache service by using the following command.
jive restart httpd
Changing root context on existing installation
You can 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:
-
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 athttp://yourcommunity.com/engage
instead ofhttp://yourcommunity.com
.jive set webapp.context engage
-
Change the jiveURL system property to reflect the new context for the web application at Admin Console: System > Management > System Properties. For more information on the jiveURL, see Changing community URL.
-
Restart the Web Application node by using the following command.
jive restart webapp
-
Restart the Jive Apache service by using the following command.
jive restart httpd