Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Rendering external CGI and Confluence

Johan Berg February 8, 2015

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

1 vote
Jason Hensler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2015

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>

Johan Berg February 9, 2015

Thanks I will try that out.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events