Re: problems setting up Apache::AuthCookieDBI (solved but no fullyunderstood)

2002-05-06 Thread Fran Fabrizio



Jacob Davies (author of Apache::AuthCookieDBI) confirmed the secret key
file has to be set before the PerlModule directive, it is a bug in the
documentation.

Except it doesn't really, because it works fine for me. =)

I compiled mod_perl static, I tend to avoid DSO if possible.

-Fran







Re: problems setting up Apache::AuthCookieDBI (solved but no fullyunderstood)

2002-05-06 Thread Fran Fabrizio


I for sure), I don't understand why the order does not matter in your
machine. Do we have the same version of the module (v1.18)?

-- fxn 
  


Ah, no, I've got 1.10.

Here is the relevant part of my config file

# AuthCookieDBI config
PerlModule Apache::AuthCookieDBI
PerlSetVar RMSPath /
PerlSetVar RMSLoginScript /rms/login
PerlSetVar RMSDBI_SecretKeyFile /usr/local/apache/RMSsecretkeyfile
PerlSetVar etc..

So much for backwards compatibility. ;-)

-Fran







Re: problems setting up Apache::AuthCookieDBI (solved but no fullyunderstood)

2002-05-03 Thread Fran Fabrizio



Loading Apache::AuthCookieDBI after setting WhatEverDBI_SecretKeyFile
has solved the problem. I am doing something wrong or the example in the
manual page would need to be modified?

That's odd, I load my module first before setting the secret key (or any 
of the other variables) and it works fine for me.

-Fran






Re: problems setting up Apache::AuthCookieDBI (solved but no fullyunderstood)

2002-05-03 Thread Fran Fabrizio



Does the server load the module that way?
  

It's beyond my expertise at this point but my experience would indicate 
that it does not work this way since I have PerlModule before the 
PerlSetVar and it works fine.

-Fran