Attachment download path outside base path

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

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?

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.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

212 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you