perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Hartmaier" <>
Subject Re: Embperl on RedHat 8.0
Date Thu, 05 Dec 2002 10:11:28 GMT

Hi again!

Thanks for the tips.
I found the 'LoadModule embperl_module location/to/' line in the
embperl documentation by myself =)
Now embperl gets loaded but it seems that it doesn't interpret my pages!

Additionally I've got the following problem:

I tried the modperl handler instead of the perl-script but that changed nothing
(yes I restarted apache).

Is anybody out there who has Embperl running on RedHat 8.0 or similar (Apache 2
with mod_perl 2 and Perl 5.8.0)???

Thanks Alex

Thats my embperl.conf in /etc/httpd/conf.d:
AddType text/html       .epl

<Files *.epl>
  SetHandler            perl-script
  PerlResponseHandler   Embperl
  Options               ExecCGI

use Apache2 ();

# use lib qw(/var/www/perl);

# enable if the mod_perl 1.0 compatibility is needed
use Apache::compat ();

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 Apache::Const -compile => ':common';
use APR::Const -compile => ':common';


snip from /etc/httpd/conf/httpd.conf:
PerlSetEnv ORACLE_HOME  /u01/app/oracle/product/
PerlSetEnv ORA_NLS33    /u01/app/oracle/product/

LoadModule      embperl_module

PerlRequire "/var/www/perl/"

PerlModule DBI
PerlModule POSIX
PerlModule Time::Local
PerlModule Net::SNMP
PerlModule DBD::Oracle
PerlModule Apache::AuthDBI #<- I rewrote this one a bit to get it working with
mod_perl2 but it also has the database connection problem mentioned above
PerlModule Embperl

PerlSwitches -I/home/nac/lib

# required for Embperl >=2.0 to get PerlSetEnv working
Embperl_UseEnv on


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message