Tags:
create new tag
view all tags

Question

Is there a way to include external *.cgi-script-output into a Topic? So that we have the nice TWiki-Site together with the cgi-output [instead of|in] a Topic.

We want to include the drraw.cgi script output (a Frontend for the RRD-Tool) into a TWiki Web.
There are several Problems:

  • %INCLUDE{"https://..."}% does not work with https , but we're runnging apache-ssl.
  • if I start apache (in addition to apache-ssl) and include the http URL, i.e. %INCLUDE{"http://abakus/cgi-bin/twiki/drraw.cgi"}%, I will get the cgi-output included, but I will lose the nice TWiki-Framework clicking an a generated link (from the cgi).

It would be quite a job to rewrite the script to a TWiki Plugin.

Does anybody have an idea?

Thank you !

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, ConditionalPlugin, EditTablePlugin, GnuSkinPlugin, InterwikiPlugin, RedirectPlugin, TablePlugin, TigerSkinPlugin
Server OS: Debian stable, kernel 2.4.18
Web server: apache-ssl/stable 1.3.26.1+1.48-0woody3
Perl version: 5.8.4
Client OS: Linux, MS Windows XP
Web Browser: MSIE, Mozilla, Netscape, Opera

-- SusanneRuppel - 17 Aug 2004

Answer

I don't have an answer to your question but can point you to a couple of related topics: CallingScriptsFromTopics and HowToExecuteAScript.

-- LynnwoodBrown - 17 Aug 2004

Thank you for the links! And sorry: I didn't find the topics before asking (seems that I searched with the wrong buzzwords).

I just found following solution for us:

<iframe src="%SCRIPTURL%/drraw.cgi" width="98%" height="670" align="center" name="drraw"> 
Your Browser cannot handle embedded Frames. Please visit following site, to get the RRD tool output:<br /> 
<div align="center"><a href="%SCRIPTURL%/drraw.cgi"><span class="unten">RRD</a></div><br />
</iframe>

The Text-Browser people won't be happy, but it works very well for the bigger part... smile

-- SusanneRuppel - 18 Aug 2004

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2004-08-18 - SusanneRuppel
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.