this is how I do it from httpd.conf with apache 1.3.x.

HTH,
Rodney

PerlModule Apache::DBI
PerlModule HTML::Mason::ApacheHandler
PerlSetVar MasonRequestClass MasonX::Request::WithApacheSession
PerlSetVar MasonSessionCookieDomain 192.168.1.11
PerlSetVar MasonSessionClass Apache::Session::Postgres
PerlSetVar MasonSessionDataSource "dbi:Pg:dbname=www;host=127.0.0.1"
PerlSetVar MasonSessionUserName apache
#PerlSetVar MasonSessionPassword apache
PerlSetVar MasonSessionLockDataSource "dbi:Pg:dbname=www;host=127.0.0.1"
PerlSetVar MasonSessionLockUserName apache
#PerlSetVar MasonSessionLockPassword apache
PerlSetVar MasonSessionCookieName carapace
PerlSetVar MasonSessionCookieExpires +300m
PerlSetVar MasonSessionUseCookie 1

<Directory />
    SetHandler perl-script
    PerlHandler HTML::Mason::ApacheHandler
    Options FollowSymLinks
    AllowOverride None
</Directory>

On Wed, Aug 13, 2008 at 11:44 AM, Hartlieb, George
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am having a strange problem with MasonX::Request::WithApacheSession.
>
> If I use the ApacheHandler method of passing the setup information it works.
>
> If I use httpd.conf method nothing works.
> It seems that the PerSetVar variables are not being picked up by
> MasonX::Request::WithApacheSession.
>
> PerlSetVar  MasonRequestClass  MasonX::Request::WithApacheSession
>
> I did check that my handler sees the variables with:
>
> print "XXX: ", $r->dir_config ('MasonRequestClass'), "<BR />";
>
> Thanks in Advance,
>
> George
>
> George Hartlieb                      System Administrator/Engineer
> Phone: 650-604-5690                  [EMAIL PROTECTED]
>
> ELORET Corporation
> NASA/Ames Research Center
> MS 234-1
> Moffett Field, CA 94035-1000
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Mason-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to