Hello all!
 
I have recently upgraded Apache from 2.0.39 to .40 (w/ the subsequent recompilation of modperl 2 and Embperl 2.0b8) and, with the same configuration that previously worked perfectly, I now receive an error from apache saying
 
Invalid command 'Embperl_UseEnv', perhaps mis-spelled or defined by a module not included in the server configuration
In my httpd.conf, I have
 
LoadModule perl_module modules/mod_perl.so
LoadModule embperl_module modules/Embperl.so
[...]
<IfModule mod_perl.c>
  PerlModule Embperl
  Embperl_Useenv on
  PerlSetEnv EMBPERL_FILESMATCH "\.(html?|epl)$"
  PerlSetEnv EMBPERL_URIMATCH "\.(html?|epl)$"
  PerlSetEnv EMBPERL_OBJECT_BASE template.epl
  PerlSetEnv EMBPERL_OBJECT_FALLBACK fallback.epl
  PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS "no"
</IfModule>
[...]
        <Files ~ "\.(html?|epl)$">
                SetHandler perl-script
                PerlHandler Embperl::Object
        </Files>
 
 
Any help would be greatly appreciated, since I really have no clue what the problem can be.
Thanks.
- Adrian

Reply via email to