Hello, I have some trouble with MasonX::Request::WithApacheSession. here is my apache config file :
PerlSetVar MasonRequestClass MasonX::Request::WithApacheSession PerlSetVar MasonSessionCookieDomain .mydomain PerlSetVar MasonSessionClass Apache::Session::File PerlSetVar MasonSessionDirectory /var/cache/apache2/sessions/data PerlSetVar MasonSessionLockDirectory /var/cache/apache2/sessions/locks PerlSetVar MasonSessionCookieExpires +300m PerlSetVar MasonSessionUseCookie 1 PerlSetVar MasonArgsMethod mod_perl PerlSetVar MasonCompRoot /users/stagiair/desgrange/Stage/netadmin/mason/ PerlSetVar MasonDataDir /var/cache/apache2/ PerlSetVar MasonDeclineDirs 0 PerlSetVar MasonDataCacheDefaults "cache_class => NullCache" PerlAddVar MasonAllowGlobals $Netadmin SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler PerlSetVar MasonDeclineDirs 0 ForceType text/html DirectoryIndex index.html dhandler Options ExecCGI FollowSymLinks MultiViews +Indexes Order deny,allow Deny from all Allow from all Order Deny,Allow Deny from All Order deny,allow Deny from all Allow from all And in the /var/log/apache2/error.log : [error] [client 127.0.0.1] Could not open file (/var/cache/apache2/sessions/locks/Apache-Session-9f66d9f7df58b0c78eb55bca5d4680fe.lock) for writing: No such file or directory at /usr/share/perl5/Apache/Session/Lock/File.pm line 75.\n\t(in cleanup) Could not open file (/var/cache/apache2/sessions/locks/Apache-Session-9f66d9f7df58b0c78eb55bca5d4680fe.lock) for writing: No such file or directory at /usr/share/perl5/Apache/Session/Lock/File.pm line 75.\n\nStack:\n [/usr/share/perl5/HTML/Mason/ApacheHandler.pm:888]\n [/usr/share/perl5/HTML/Mason/ApacheHandler.pm:828]\n [(eval 42):8]\n [-e:0]\n I really don't know... My system : Apache/2.2.17 (Debian) PHP/5.3.3-7 with Suhosin-Patch mod_ssl/2.2.17 OpenSSL/1.0.0d mod_apreq2-20090110/2.8.0 mod_perl/2.0.5 Perl/v5.10.1 ps: sorry for my english, but I'm french :D. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users