On Tue, 2004-03-30 at 02:40, Gerald Richter wrote:
> Brian Schoenhofer wrote:
> > I have Embperl::Object setup for a directory on my Mandrake 9.2
> > system. I have base.epl defining a page layout and would like to get
> > a cgi app to run as if it were in a subdir of this Embperl directory.
> > I want the cgi app to be included in my template.
> >
> > I have the standard Apache setup (with small Mandrake modifications)
> > so the cgi dir is not below the dir that Embperl::Object is handling.
> > I am thinking that if it were then it would show up in my template.
> > This, however, would not be very secure (I don't know why but I have
> > seen enough to know that cgi-bin is not under .../apache/htdocs due to
> > security).
> >
> > What should I do?
> >
> 
> If you want to include the output of your cgi script, you need to issue a
> subrequest
> 
> Execute({subreq => '/cgi-bin/script.cgi'}) ;
> 
I was aware of the subrequest function and it works for a single
request.  For example, the cgi app I would like to get working is a web
calendar.  The first request to it shows it's login page nicely in my
template.  When I login the calendar then shows up on it's own page
without my template.  The login request goes to the cgi-bin which is
outside of my Embperl::Object handler.

> This will include the output of the cgi script under this URI
> 
> Gerald
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to