Ryan C. Spaulding wrote:
Hi Derrick,
I suspect you've forgotten to load Embperl.so. You should
add
        LoadModule embperl_module /some-dirs/Embperl.so

before using special Embperl directives like EMBPERL_SESSION_HANDLER_CLASS.

<VirtualHost *:80> ServerAdmin [EMAIL PROTECTED] DocumentRoot /web/testweb/htdocs/ ServerName testweb.nas.nasa.gov

#<Directory "/web/testweb/htdocs/iCal">
# Dav on
#</Directory>
RewriteEngine On
#RewriteRule ^/iCal(/?.*) https://testweb.nas.nasa.gov/iCal$1 [R,L]
#SetEnv EMBPERL_SESSION_HANDLER_CLASS no
PerlModule Embperl
#EMBPERL_SESSION_HANDLER_CLASS no
#SetEnv EMBPERL_SESSION_HANDLER_CLASS no
<Directory "/web/testweb/htdocs/wags">
#PerlSetVar EMBPERL_SESSION_HANDLER_CLASS no
EMBPERL_SESSION_HANDLER_CLASS no
SetHandler perl-script
PerlHandler Embperl
AllowOverride FileInfo AuthConfig Indexes Limit Options
Options ExecCGI
</Directory>


</VirtualHost>

I tried it in both the Directory and VirtualHost context and both produced the same error.

Below is the error message:

[EMAIL PROTECTED] root]# apachectl configtest
Syntax error on line 1053 of /etc/httpd/conf/httpd.conf:
Invalid command 'EMBPERL_SESSION_HANDLER_CLASS', perhaps mis-spelled or defined by a module not included in the server configuration


Thank you,

Ryan
On Jan 11, 2005, at 12:55 PM, Derrick Spell wrote:


On Jan 11, 2005, at 3:48 PM, Ryan C. Spaulding wrote:

Hi,

I am currently running:

Embperl-2.0rc2-1
httpd-2.0.46
on Redhat Enterprise AS 3.2-1


        PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no


With Embperl2, you no longer need the PerlSetEnv. Try taking this out and see if it takes care of the error message, i.e. just:


EMBPERL_SESSION_HANDLER_CLASS no


-Derrick



---------------------------------------------------------------------
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]




--
Best regards,
Michael Stepanov
Perl/Linux Developer
Francoudi & Stephanou Ltd
Tel: +357 25-867154
Email: [EMAIL PROTECTED]

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



Reply via email to