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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,138 views 2 6
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