Setting up the context path for JIRA
If you have multiple web applications running on the same domain, you might want to set up a context path for JIRA; for example, http://example.com/jira
.
How to do it…
Perform the following steps to set up a context path for JIRA:
- Shut down JIRA if it is running.
- Open up
JIRA_INSTALL/conf/server.xml
in a text editor. - Locate the following line and enter the context path for the path attribute, for example,
path="/jira"
:<Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
- Save the file and restart JIRA.
If you have updated the context path for JIRA after it is installed, you will have to update JIRA's Base URL option so that all its links will reflect the change.
- Log in to JIRA as an administrator.
- Navigate to Administration | Systems | General Configuration.
- Click on the Edit Settings button.
- Enter the fully qualified URL into JIRA, including the context path in the Base URL field.
- Click on Update to apply the change.
After you have all this set up, you will be able to access JIRA with the new context path.