Editing the Context Path and Then Clicking on Profile or Space Links Triggers a 404 Error
Symptoms
After editing the context path in the Confluence Server Base URL, some links related to spaces and some profile links don't contain the new base url, and when clicked generate a 404 error. Also the icons on the top navigation bar will render letters instead of icons:
There will be NO errors shown in the atlassian-confluence.log
file for this behavior.
Cause
This problem happens because there's a "/" on the context path parameter in the server.xml
file, which is not well handled by Tomcat.
Resolution
- Stop the Confluence server.
- Go to your <Confluence Install Directory>/conf.
- Edit the
server.xml
file. In the Context element, change the value of the path from:
Context path="/"
to
Context path=""
- Save the file.
- Start Confluence.