Problem: AuthCookie test/install

Larry Richardson larryr2 at bellsouth.net
Sun Jan 23 21:09:04 UTC 2005


I'm running on Fedora Core 2, using the provided rpms for httpd and 
mod-perl (apache 2.0.49, mod-perl 1.99.12).  I'm attempting to get 
AuthCookie (3.06) running properly, but I have issues.

The most basic is that it fails a majority of the install tests.  I went 
ahead and installed the AuthCookie, just to see if I had the same issues 
with an actual install.  I did.

When running, it seems to have the hooks setup OK, as I can watch them 
work via /var/log/httpd/error_log.  When I try to access the protected 
page, the login.pl runs and displays the login page (as expected), but 
it then displays this html:

<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /my/docroot/get_me.html
on this server.</p>
<p>Additionally, a 200 OK
error was encountered while trying to use an ErrorDocument to handle the 
request.</p>
<hr />

<address>Apache/2.0.49 (Fedora) Server at localhost Port 80</address>
</body></html>

This is the cause of many of the test's failing, as the tests compare 
pre-created output to the AuthCookies's output, and my output has this 
extra HTML (above) also being displayed.  I still haven't discovered why 
this extra HTML is added to the end output of login.pl.  There are other 
issues, but this is the showstopper right now.  Maybe some redirection 
isnn't working properly (a guess)?

Below is output from the httpd's error_log:

[Sun Jan 23 12:05:05 2005] [notice] Apache/2.0.49 (Fedora) configured -- 
resuming normal operations
[Sun Jan 23 12:12:00 2005] [error] auth_type Apache::AuthCookieHandler
[Sun Jan 23 12:12:00 2005] [error] 
r=Apache::RequestRec=SCALAR(0x9cb4564) authtype=Apache::AuthCookieHandler
[Sun Jan 23 12:12:00 2005] [error] auth_name WhatEver
[Sun Jan 23 12:12:00 2005] [error] ses_key_cookie
[Sun Jan 23 12:12:00 2005] [error] uri /my/docroot/get_me.html

Then, after I try to login, here are the additional lines in error_log:

[Sun Jan 23 12:14:54 2005] [error] Converting POST -> GET
[Sun Jan 23 12:14:54 2005] [error] credential_0 myname
[Sun Jan 23 12:14:54 2005] [error] credential_1 mypasswe
[Sun Jan 23 12:14:54 2005] [error] In authen_cred
[Sun Jan 23 12:14:54 2005] [error] creds[0]:myname
[Sun Jan 23 12:14:54 2005] [error] ses_key myname:mypasswe
[Sun Jan 23 12:14:54 2005] [error] redirect to /my/docroot/get_me.html
[Sun Jan 23 12:14:54 2005] [error] auth_type Apache::AuthCookieHandler
[Sun Jan 23 12:14:54 2005] [error] 
r=Apache::RequestRec=SCALAR(0x9cb4564) authtype=Apache::AuthCookieHandler
[Sun Jan 23 12:14:54 2005] [error] auth_name WhatEver
[Sun Jan 23 12:14:54 2005] [error] ses_key_cookie
[Sun Jan 23 12:14:54 2005] [error] uri /my/docroot/get_me.html

It never authenticates (although it does call all the perl routines).

Any help with this is appreciated.  I'll gladly supply more info if it 
can help me solve this.

Larry Richardson





More information about the fedora-list mailing list