You should make sure your login.pl file is unprotected, or you'll get stuck in
a loop.  That has bitten a few people, though I think it's probably not your
problem, and I don't know why it should *ever* be a problem since I do "return
OK unless $r->is_initial_req;" in the authenticate() and authorize() methods.

You could also try adding some debug statements to AuthCookieHandler.pm to make
sure authen_ses_key is getting the proper data.  Looks like it's not, check out
the line of code that produces the "ses_key_cookie" message.

You can also try adding the following line (will be in the next release) near
the end of the authenticate() subroutine.  Might give you another clue.

    $r->log_error("Redirecting to $authen_script") if $debug >= 2;


[EMAIL PROTECTED] (Namiotka, David) wrote:
>Hello,
>       I am trying to use the AuthCookie module with mod_perl and I can not
>get past the login form that comes up.  When I access the protected page,
>the login form pops up, but when I enter the username/password pair
>(programmer/Hero) it just takes me back to the same login form.  I have not
>been able to find any mention in the FAQs or documentation about this
>situation.  I did find the same question in the email archives from a
>previous year, but could not find any response to it.  If anyone can offer
>some advice, I would appreciate it.  I do not know if I need any other
>modules for this to work.  I have set up my httpd.conf as per the example in
>the real.t file.  Other config info is listed below...
>
>Stronghold 2.4.2 ( Apache 1.3.6 )
>mod_perl 1.22
>ApacheJserv 1.1
>PHP 3.0.15
>Auth::Cookie 2.005
>perl 5.00503 built with gcc 2.95.2
>
>all running on a solaris 2.6 box
>
>The only errors that I can get out of it are...
>
>[Mon Mar 27 16:32:44 2000] [error] auth_type Sample::AuthCookieHandler
>[Mon Mar 27 16:32:44 2000] [error] auth_name WhatEver
>[Mon Mar 27 16:32:44 2000] [error] ses_key_cookie 
>[Mon Mar 27 16:32:44 2000] [error] uri /protected/get_me.html
>
>I would be glad to provide any other info if needed.
>
>Thanks for any help.
>
>dave
>
>David Namiotka
>Systems Administrator
>Deposit Software, Inc.
>ph: 360-297-6000 x214
>fax: 360-297-7125
>

  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum


Reply via email to