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

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
Published Tuesday 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...

183 views 2 10
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