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 10 hours ago in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

88 views 0 12
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