perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stepanov <michaelstepa...@francoudi.com>
Subject Re: Problems with setting EMBPERL_SESSION_HANDLER_CLASS
Date Wed, 12 Jan 2005 07:53:49 GMT
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 root@testweb.nas.nasa.gov
>     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:
> 
> [root@testweb 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: embperl-unsubscribe@perl.apache.org
>> For additional commands, e-mail: embperl-help@perl.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 
> 


-- 
Best regards,
Michael Stepanov
Perl/Linux Developer
Francoudi & Stephanou Ltd
Tel: +357 25-867154
Email: michaelstepanov@francoudi.com

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message