Now i have changed the way to load Embperl.
I create a file called apache2_modules.pl and in the file i put: use Apache2 (); use ModPerl::Util (); #for CORE::GLOBAL::exit
use Apache::RequestRec (); use Apache::RequestIO (); use Apache::RequestUtil ();
use Apache::Server (); use Apache::ServerUtil (); use Apache::Connection (); use Apache::Log ();
use APR::Table ();
use ModPerl::Registry (); use Embperl;
Now it seems embperl is working as i want... fast.
Gerald if you would know why now embperl is faster, i think we would like to know.
Thank you very much for your time.
Carlos Kassab
Carlos Kassab wrote:
Gerald,
Here are the lines related to mod_perl and embperl:
LoadModule perl_module modules/mod_perl.so
PerlModule Apache::compat PerlModule APR::Table
LoadModule embperl_module /usr/local/lib/perl/5.6.1/auto/Embperl/Embperl.so
<Files *.epl> SetHandler perl-script PerlHandler Embperl Options ExecCGI </files>
AddType text/html .epl
Thank you very much for your help.
Carlos Kassab
Gerald Richter wrote:
The problem is that it seems apache is working as cgi and seems it is not preloading eplsite programs.
Can you send the parts of your httpd.conf that contains the mod_perl and Embperl configuration directives?
Gerald
-------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting
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 -------------------------------------------------------------- | | 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]