perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nate Smith <n...@thebackrow.net>
Subject Configuration Question
Date Fri, 28 May 2004 14:23:46 GMT

I had previously used embperl 1.3.4 and Apache::Session 1.52, I have
just freshly installed the following:

apache_1.3.31
mod_perl-1.29
mod_ssl-2.8.17
HTML-Embperl-1.3.6
Apache-DBI-0.94
Apache-Session-1.6
Apache-SessionX-2.00b5

I want to use Mysql Semaphore for session storage, and have done so in the past with 
a similar configuration (config follows message).  It appears to be putting values in 
the mysql table 'sessions' as required by Apache::Session, and %udat is getting filled out,
but does not appear to be consistent from one request to the next.  Do you see anything obviously
wrong with my configuration?

Thanks,
Nate Smith 

## Begin Apache Config ##
PerlModule Apache::DBI
PerlModule Apache::Session;

PerlSetEnv PATH " "

PerlSetEnv EMBPERL_DEBUG 2359297
SetEnv EMBPERL_VIRTLOG /embperl/log
<Location /embperl/log>
  SetHandler perl-script
  PerlHandler HTML::Embperl
  Options ExecCGI
</Location>

PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_COOKIE_EXPIRES +8h
PerlSetEnv EMBPERL_COOKIE_DOMAIN my.domain.com
PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS "HTML::Embperl::Session"
PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:dbname UserName=xxxx Password=xxxx"

PerlModule HTML::Embperl;
PerlModule MD5;

<Location /groupware>
        PerlSetEnv PATH " "
        PerlSetVar Allow yes
        PerlSetEnv EMBPERL_OBJECT_BASE template.epl
        PerlSetEnv EMBPERL_FILESMATCH "\.htm.?|\.epl$"
        SetHandler perl-script
        PerlHandler HTML::EmbperlObject
        Options ExecCGI
</Location>
## End Apache Config ##



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


Mime
View raw message