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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

89 views 0 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