It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Best approach to hosting multiple .html pages

Hi folks,

Currently using confluence 3.5.xx standalone. Currently we have a bunch of axure projects that we export to .html projects, zip up, and make available for download from various confluence pages on our site.

Instead of forcing clients to download and unpack the zip archive for each axure project, is there a way that I can host all these .html files somewhere on this server so that we could just link to the index file/entry point for each axure project?

2 Caveats:

  1. Axure projects are a mix of nested directories, framesets, etc. Just dumping the projects in a directory off /confluence in the install directory serves the content of whatever page you link to, but strips out all the frameset, styling and other stuff that makes it usable. Plus, it still displays the confluence header and footer (kind of makes sense that it does this).
  2. I'd like to keep this as lightweight as possible. Anything more than finding the right location to dump the files so we can link to them may be introcuing a level of complexity that IT may shy away from supporting.

I suspect the correct approach to this involves registering another application inTomcat and storing these files there, but that runs us into #2 above.


*edit* There's no need to include any of these files in search, etc...

3 answers

Since you are using the standalone version which uses tomcat or jetty under the cover (i forget as this is not consistent across the suite) so you should be able to drop files into the resource folder within the webapp directory.

This would be the same spot that confluence serves images and such from.

BUt I think that is a _bad_ approach, and if you want to host html files you should setup an apache or IIS web server (not tomcat, that is an application server).

Any any IT department that scoffs at setting up an apache instance to host html files should be eliminated, and replaced with a pack of interns.

Finally setting up a single apache instance can act as a "reverse proxy" for confluence, and serve the html files from a single domain, using different contexts.

Hi, it wouldn't be too hard to add an extra static application to Tomcat. Simply add a new context in Tomcat to let Tomcat know in what directory this should exist in and drop the files there.

Hi @MICHAEL O'Neill,

Our add-on Share Attachments and Pages allows you to export a page as HTML with the resources embedded on it. Thus, you can share a link to any page using your Confluence instance as the server, without giving access to the rest of your data, no need to log in!



Suggest an answer

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

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,827 views 15 37
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you