|
Hello!
having a problem with using the MasonX::Request::WithApacheSession Modul
My current httpd.conf File:
PerlSetVar MasonRequestClass MasonX::Request::WithApacheSession
PerlSetVar MasonSessionCookieDomain help-projekt.de
PerlSetVar MasonSessionClass Apache::Session::File
PerlSetVar MasonSessionDirectory /tmp/sessions/data
PerlSetVar MasonSessionLockDirectory /tmp/sessions/locks
PerlSetVar MasonSessionUseCookie true
PerlSetVar MasonSessionCookieName helpm123e
i would storing the Sessions also in files...
But now i want to store the Data in my MySQL Database
What have i to write in the apache configfile?
I tested this:
PerlSetVar MasonSessionClass Apache::Session::MySQL
PerlSetVar MasonSessionDataSource dbi:mysql:usrdb_***
PerlSetVar MasonSessionUserName ***
PerlSetVar MasonSessionPassword ****
PerlSetVar MasonSessionLockDataSource dbi:mysql:usrdb_help_projekt_1
PerlSetVar MasonSessionLockUserName ****
PerlSetVar MasonSessionLockPassword ****
But i get this error Message:
Bareword found where operator expected at /dev/null line 1, near "/usr/sbin"
(Missing operator before bin?)
Number found where operator expected at /dev/null line 1, near "line 68"
(Do you need to predeclare line?)
syntax error at /dev/null line 1, near "/usr/sbin"
Execution of /dev/null aborted due to compilation errors.
parse: Erfolg
/usr/sbin/apachectl start: httpd could not be started
I need your help :(
|