Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Attachment download path outside base path

der_bran March 11, 2015

I changed the base path of confluence from / to /confluence and now all attachment download links still point to /download instead of /confluence/download. Is the download root absolute and not relative to the confluence base path? Is it separately configurable?

Thanks

1 answer

0 votes
Alejandro Conde Carrillo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 11, 2015

Did you followed the instructions in How to Relocate the Confluence Home Directory? Did you updated the new path in the file <confluence-install-directory>/confluence/WEB-INF/classes/confluence-init.properties?

der_bran March 12, 2015

I did not relocate the confluence home directory, hence the setting in confluence-init.properties is still set to the correct location on the file system. I think it's a rendering problem, because the generated attachment links still refer to http://hostname/download/attachments/xxx/yyyyy.zz instead of http://hostname/confluence/download/attachments/xxx/yyyyy.zz although I changed the base directory to /confluence.

der_bran March 12, 2015

just to clarify: I'm talking about the setting General Configuration > Server Base Url

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events