[prev in list] [next in list] [prev in thread] [next in thread]
List: mason
Subject: Re: [Mason] including a CGI script
From: "John M. Dlugosz" <d3kffj702 () sneakemail ! com>
Date: 2009-09-07 23:52:13
Message-ID: 17650-16405 () sneakemail ! com
[Download RAW message or body]
Oliver Paukstadt pstadt-at-sourcentral.org |mason mailing list| wrote:
> On Sun, 2009-09-06 at 21:36 -0500, John M. Dlugosz wrote:
>
>> No, the cgi stuff is set up correctly. The URL by itself, or in a SSI
>> directive on a SHMTL page, does cause the script to run. I'm thinking
>> the <% mechanism just grabs the text file, and doesn't ask Apache to
>> "serve" it.
>>
> I once "included" a legacy cgi script (non perl) into a component using
> Apache2::SubProcess and parsing the output (Header/Content). I used this
> result for make_component and make_subrequest to apply autohandlers etc.
> I remember I had to fiddle around a lot to get proper request and
> response headers but finally it worked.
>
> Oliver
>
Ah right... the CGI result will include its own headers and be a full
document. I sure with IFRAME's worked better in the browser, in terms
of sizing automatically to their content. I've done some iframe stuff
before where I used a client-side script to set the height to the
document contained, but still have problems with bugs in the browser.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic