perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nate Smith <n...@thebackrow.net>
Subject Re: Configuration Question
Date Fri, 28 May 2004 15:24:55 GMT
Please disregard parent message!

After capturing some http headers I saw that embperl was sending the
cookie, and my browser wasn't getting it.  I just commented out all the 
PerlSetEnv EMBPERL_COOKIE.* lines in my config and it works fine..

Thanks
Nate Smith

On Fri, May 28, 2004 at 07:23:46AM -0700, Nate Smith wrote:
> 
> 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
> 

-- 
There has grown up in the minds of certain groups in this country the notion 
that because a man or a corporation has made a profit out of the public for 
a number of years , the government and the courts are charged with the duty 
of guaranteeing such profit in the future, even in the face of changing 
circumstances and contrary public interest. This strange doctrine is not 
supported by statute nor common law. Neither individuals nor corporations 
have any right to come into court and ask that the clock of history be stopped,
or turned back, for their private benefit.
- "Life-Line"

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


Mime
View raw message