>
> [Fri Sep 22 13:56:47 2000] [error] Cannot require
> Apache::Session::Lock::SysVSem aphoreLocker at
> /usr/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl/Session.pm
> line 204.
>
> However everything seems to work OK if I changed
>
> PerlSetEnv EMBPERL_SESSION_CLASSES "File SysVSemaphoreLocker"
>
for Apache::Session 1.5x this must be
PerlSetEnv EMBPERL_SESSION_CLASSES "File Semaphore"
due to a rename of the Apache::Session classes.
>
> in apache config. I am storing sessions in a file because I run
> PostgreSQL instead of MySQL and I couldn't get session handling to
> work with postgresql. Anyone knows how?
>
Apache::Session has a special module for using postgress:
Apache::Session::Store::Postgres
so use something like
PerlSetEnv EMBPERL_SESSION_CLASSES "Postgres Semaphore"
the EMBPERL_SESSION_ARGS must contain the database etc.
PerlSetEnv EMBPERL_SESSION_ARGS "Datasource=dbi:Pg:dbanme=foo UserName=bar
Password=secret"
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]