On 24/03/2004, at 6:24 AM, Brian Clarkson wrote:

The WhateverDBI_SecretKeyFile seems to be everyone's problem with this module. I've searched around, read most people's fixes, but none of them work for me. Here's my error_log snippet:

[Tue Mar 23 12:04:58 2004] [error] access to /LOGIN failed, reason: Apache::AuthCookieDBI: didn't have the secret key for auth realm JBG
[Tue Mar 23 12:04:58 2004] [error] access to /logintest failed, reason: Apache::AuthCookieDBI: didn't the secret key from for auth realm JBG


The host in question is a VirtualHost. My first configuration attempt, which matches one of the more common solutions ( putting the PerlSetVar directive before the module load ) doesn't do the trick:

You *must* put *all* the PerlSetVar configuration for AuthCookie* in the *main* apache
configuration, not in a virtual host section or similar.


This is because it is read in a BEGIN block, and there is no current request and hence no
appropriate virtual host at that stage.


It's in the docs, IIRC.



Cheers,


Nick


--
Nick Phillips / +64 3 479 4195 / [EMAIL PROTECTED]
# these statements are my own, not those of the University of Otago


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to