Rendering external CGI and Confluence

I want to include external CGI in Confluence. In the preview of the page it just shows up as empty. The Confluence HTML macro is enabled. Pure external HTML works fine but not CGI, does that have something todo with Tomcat config (web.xml)?

The code looks like this which it cannot render on the external web page in Confluence:
<div id="file"><form action="http://server/file.cgi" method="post">

We run Confluence 5.6 on Linux.

1 answer

This widget could not be displayed.

I may be wrong here but, if the only code you have in the html macro is "<form action="http://server/file.cgi" method="post">" then you shouldn't see anything. Your html is only defining a form with a submit action and is not including the content of the page (cgi) you are referencing. We use the bob swift html plugin so that we can include external html pages. Alternatively you could use an i-frame in your html macro to include the cgi file, that would look something like <iframe src="http://server/file.cgi"></iframe>

Thanks I will try that out.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

605 views 8 6
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