Confluence URLs do not render due to Apache URI escaping
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
When Confluence sits behind an Apache httpd server, links may not work and the application will complain about insufficient authorization or broken links.
または
Attempting to login into Confluence failed with following error as the last segment of the URL contains os_destination=%252Findex.action
The requested URL //index.action was not found on this server.
原因
Apache httpd re-encodes the URL encoded GET request variable that represents the target destination page (%2F
representing /
will become %252F
). That is the %
will be encoded on its own. When the authentication engine decodes the variable, the string won't match any page in the application context. There is a bug report regarding the additional slash that is being tracked with Apache at https://issues.apache.org/bugzilla/show_bug.cgi?id=39746
ソリューション
Add NE
to the RewriteRule
in the Confluence configuration section.
参照先: