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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,640 views 25 10
Join discussion

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