Greetings!

We're trying to get embperl 1.4 working on apache 1.3 with mod_perl. 
We'd been using it as a cgi before. We're having a few problems 
regarding some of the settings that used to be done with environment
variables and were wondering if you could shed some light on what we're
doing wrong.


The relevant piece of our apache httpd.con file is as follows:
<VirtualHost ...>
.
.
.

   AddType text/html .epl
   #Embperl_UseEnv on
   PerlSetEnv EMBPERL_LOG /var/www/domains/mc/embperl_log
   PerlSetEnv EMBPERL_DEBUG 0
   #PerlSetEnv EMBPERL_DEBUG 2285
   PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
   PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=DBI:mysql:database=... "

   <Files *.epl>
         SetHandler      perl-script
         Perlhandler     HTML::Embperl
         Options         ExecCGI
   </files>
</VirtualHost>

The problem seems to be that Embperl is ignoring the SetEnv lines. 
Which makes sense from the documentation because we are under mod_perl. 
However, I can't seem to find anywhere how to change these settings 
under mod_perl.

If I try to use "Embperl_UseEnv on" I get a syntax error like so:
Syntax error on line 394 of /etc/httpd/conf/httpd.conf:
Invalid command 'Embperl_UseEnv', perhaps mis-spelled or defined by a
module not included in the server configuration

Can you help us at least know how to properly use the Embperl_UseEnv
directive so we can set things up like we were before?

Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to