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'}) ;
This will include the output of the cgi script under this URI
Gerald
> My setup is as follows:
>
> Embperl/2.0b9
> Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6mdk)
> mod_perl/1.99_09
> Perl/v5.8.1
> mod_jk2/2.0.3-dev
> mod_ssl/2.0.47
---------------------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
IT-Securityl�sungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der CeBIT (18. - 24. M�rz 2004)
Halle 6 Stand B38-452
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]