Hi again!
Thanks for the tips. I found the 'LoadModule embperl_module location/to/Embperl.so' 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: http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#C_Libraries_Don_t_See_C__ENV__Entries_Set_by_Perl_Code 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 </Files> -------------------------------------------------------------- /var/www/perl/startup.pl -------------------------------------------------------------- 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'; 1; -------------------------------------------------------------- snip from /etc/httpd/conf/httpd.conf: -------------------------------------------------------------- PerlSetEnv ORACLE_HOME /u01/app/oracle/product/9.2.0.1.0/ PerlSetEnv ORA_NLS33 /u01/app/oracle/product/9.2.0.1.0/ocommon/nls/admin/data PerlSetEnv NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1 LoadModule embperl_module /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Embperl/Embperl.so PerlRequire "/var/www/perl/startup.pl" 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
