Book Image

JIRA 6.x Administration Cookbook

By : Patrick Li
Book Image

JIRA 6.x Administration Cookbook

By: Patrick Li

Overview of this book

Table of Contents (16 chapters)
JIRA 6.x Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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:

  1. Shut down JIRA if it is running.

  2. Open up JIRA_INSTALL/conf/server.xml in a text editor.

  3. 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">
  4. 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.

  5. Log in to JIRA as an administrator.

  6. Navigate to Administration | Systems | General Configuration.

  7. Click on the Edit Settings button.

  8. Enter the fully qualified URL into JIRA, including the context path in the Base URL field.

  9. 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.