Editing the Context Path and Then Clicking on Profile or Space Links Triggers a 404 Error
症状
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.
原因
This problem happens because there's a "/" on the context path parameter in the server.xml
file, which is not well handled by Tomcat.
ソリューション
- Confluence サーバーを停止。
- Go to your <Confluence Install Directory>/conf.
server.xml
ファイルを編集します。In the Context element, change the value of the path from:
Context path="/"
to
Context path=""
- ファイルを保存します。
- Confluence を起動します。
最終更新日 2018 年 11 月 2 日
Powered by Confluence and Scroll Viewport.