perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: I don't understand 'Execute' loading
Date Thu, 22 Apr 2004 04:33:24 GMT
>
> OK. I thought I was using Embperl::Object, but now I'm trying
> Embperl_Path.
>

Yes, you do, so you have to use Embperl_Object_Addpath, because
EMbperl::Object already sets it#s own search path, which is from the
requested document to the place where document-base.epl is found

http://perl.apache.org/embperl/pod/intro/IntroEmbperlObject.htm and
http://perl.apache.org/embperl/pod/intro/IntroEmbperl2.htm are an
introduction to how Embperl::Object searching works.


 Embperl_Obejct_AddPath "/home/test/httpd/2.1/htdocs/resume/objects"

>
> <VirtualHost localhost:8080>
>   ServerName resume.test.com
>   DocumentRoot "/home/test/httpd/2.1/htdocs/resume"
>   <Directory "/home/test/httpd/2.1/htdocs/resume">
>     EMBPERL_APPNAME my_resume_app
>     EMBPERL_OBJECT_BASE document-base.epl
>     <FilesMatch "\.html$">
>        SetHandler perl-script
>        PerlHandler Embperl::Object
>        Options ExecCGI
>     </FilesMatch>
>     <FilesMatch ".*\.epl$">
>        Order allow,deny
>        Deny From all
>     </FilesMatch>
>   </Directory>
> </VirtualHost>
>

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 KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

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