上QQ阅读APP看书,第一时间看更新
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
, where /jira
is the context path.
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"
:<Contextpath="/jira"docBase="${catalina.home} /atlassian- jira" reloadable="false" useHttpOnly="true">
- Save the file and restart JIRA. If you are doing this after JIRA is installed, you will have to update JIRA's Base URL option so that its links will reflect the change.
- Then, log into 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 and all the links, including the ones from JIRA's notification e-mails, will be the context path in the URL.