How to do I access an an html file stored in /var/confluence/confluence-data/script/ via the confluence url ?

I don't know whether this is possible or not but I have an html file that is stored on the Confluence home directory, see location above and would want to access it via the url.

For example I would like to enter something like https://confluence.abc.com/script/xyz.html

Let me know if this is possible or if there is another way of doing this. Please note that this html file will not display via the iframe and html macros.

1 answer

This is not possible. A workaround is to store this html file in the Installation Directory of Confluence instead. For example, if you store test.html inside <confluence-install>/confluence/html folder, then you need to access this file by: http://<confluence-url>/html/test.html

Thanks Amalia..

That was very helpful.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 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...

868 views 2 13
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