403 Custom Response?

2000-01-31 Thread Aaron Ross

Hi!
 I can't get Apache::AuthCookie to work without causing a login box to popup.
I'm hoping someone else has had this problem and can help me clean up my 
configuration.  can anyone point me to configuration directives that might 
be causing this problem? Here is my .htaccess file:

 # Protect All Files in this directory
 PerlAuthenHandler ForumCookieAuth-identify
 PerlAuthzHandler ForumCookieAuth-authorize
 require valid-user

 and here is my httpd.conf entry for the protected directory:

Directory /protected
  AuthType ForumCookieAuth
  AuthName MathForum
  PerlSetVar AuthCookieDebug 3
  PerlSetVar MathForumPath /
  PerlSetVar MathForumLoginScript /signup.html
/Directory


 The module return 403 after setting custom_response. I get a pop up box and
then if i cancel, i get the login script that was set as the custom response. 

 I thought the mailing-list archives would have yielded something, but if it's
there i can't find it.

TIA,
Aaron



RE: 403 Custom Response?

2000-01-31 Thread Gerald Richter


 Hi!
  I can't get Apache::AuthCookie to work without causing a login
 box to popup.
 I'm hoping someone else has had this problem and can help me clean up my
 configuration.  can anyone point me to configuration directives
 that might
 be causing this problem?

I recently run into this problem. It's not an configuration issue. Your
login page must alter the http status to 200 (OK)

Put something like the following at the top of your login page:

$r-status(200) ;


Gerald



Re: 403 Custom Response?

2000-01-31 Thread Aaron Ross

hi Gerald!

 you rock

thanks, aaron

 
  Hi!
   I can't get Apache::AuthCookie to work without causing a login
  box to popup.
  I'm hoping someone else has had this problem and can help me clean up my
  configuration.  can anyone point me to configuration directives
  that might
  be causing this problem?
 
 I recently run into this problem. It's not an configuration issue. Your
 login page must alter the http status to 200 (OK)
 
 Put something like the following at the top of your login page:
 
 $r-status(200) ;
 
 
 Gerald