On 21/05/2006, at 4:18 PM, Jeff Hinrichs - DM&T wrote:

me culpa, forgot to CC the group

---------- Forwarded message ----------
From: Jeff Hinrichs - DM&T <[EMAIL PROTECTED]>
Date: May 21, 2006 1:17 AM
Subject: Re: mod_python trunk fails
To: Graham Dumpleton <[EMAIL PROTECTED]>


Graham,
apache-2.2.2

Here are the only lines that had the phrase "phase_status" I could
find in the error_log:
[Sun May 21 01:06:37 2006] [error] phase_status_1
[Sun May 21 01:06:37 2006] [error] phase_status_2
[Sun May 21 01:06:37 2006] [crit] [client 127.0.0.1] configuration
error:  couldn't check access.  No groups file?: /tests.py

Hmmm, I thought I had worked this stuff out. :-(

Can you change test/test.py so the test configuration to that test reads:

    def test_phase_status_conf(self):
        c = VirtualHost("*",
                        ServerName("test_phase_status"),
                        DocumentRoot(DOCUMENT_ROOT),
                        Directory(DOCUMENT_ROOT,
                                  SetHandler("mod_python"),
                                  AuthType("bogus"),
                                  AuthName("bogus"),
                                  Require("valid-user"),
PythonAuthenHandler ("tests::phase_status_1"), PythonAuthenHandler ("tests::phase_status_2"), PythonAuthenHandler ("tests::phase_status_3"), PythonAuthzHandler ("tests::req_headers_out_access"), PythonFixupHandler ("tests::phase_status_4"), PythonFixupHandler ("tests::phase_status_5"), PythonFixupHandler ("tests::phase_status_6"), PythonHandler ("tests::phase_status_7"),
                                  PythonDebug("On")))
        return str(c)

Ie., add the PythonAuthzHandler entry.

Don't worry about what tests::req_headers_out_access is, I am just using it
as a convenient function which simply returns apache.OK and does nothing
else.

Graham

Reply via email to