perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: cgi app under embperl::object
Date Sat, 03 Apr 2004 11:53:24 GMT
> I have now noticed the EMBPERL_OBJECT_ADDPATH configuration variable.
> Is
> it correct to assume that if I include the subdir of cgi-bin that
> holds
> my web calendar using this config variable the whole app will show in
> my template?  Is there a security concern with this approach?
>

The ADDPATH will only work for files that are directly interpreted by
Embperl, not for subrequests.

You need to configure your httpd.conf in a way that all requests under
cgi-bin are handled by Embperl::Object and then Emperl::Object base template
can use the subreq parameter to make a subrequest to actualy call and embedd
the CGI.

Gerald

---------------------------------------------------------------------------
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:     richter@ecos.de          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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message