You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by gr...@apache.org on 2006/04/21 05:45:53 UTC

svn commit: r395767 - in /httpd/mod_python/trunk: Doc/appendixc.tex lib/python/mod_python/__init__.py src/include/mpversion.h src/mod_python.c

Author: grahamd
Date: Thu Apr 20 20:45:51 2006
New Revision: 395767

URL: http://svn.apache.org/viewcvs?rev=395767&view=rev
Log:
PythonHandlerModule was not setting up registration of the
PythonFixupHandler or PythonAuthenHandler. For the latter this meant that
using Require directive with PythonHandlerModule would cause a 500 error
and complaint in error log about "No groups file". (MODPYTHON-166)

Modified:
    httpd/mod_python/trunk/Doc/appendixc.tex
    httpd/mod_python/trunk/lib/python/mod_python/__init__.py
    httpd/mod_python/trunk/src/include/mpversion.h
    httpd/mod_python/trunk/src/mod_python.c

Modified: httpd/mod_python/trunk/Doc/appendixc.tex
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/Doc/appendixc.tex?rev=395767&r1=395766&r2=395767&view=diff
==============================================================================
--- httpd/mod_python/trunk/Doc/appendixc.tex (original)
+++ httpd/mod_python/trunk/Doc/appendixc.tex Thu Apr 20 20:45:51 2006
@@ -236,6 +236,13 @@
       directory value will now correctly resolve to the directory corresponding
       to any parent \code{Directory} directive or the location of the
       \code{.htaccess} file the \code{Files} directive is contained in.
+    \item
+      (\citetitle[http://issues.apache.org/jira/browse/MODPYTHON-166]{MODPYTHON-166})
+      \code{PythonHandlerModule} was not setting up registration of the
+      \code{PythonFixupHandler} or \code{PythonAuthenHandler}. For the
+      latter this meant that using \code{Require} directive with
+      \code{PythonHandlerModule} would cause a 500 error and complaint in
+      error log about "No groups file".
   \end{itemize}
 
 \chapter{Changes from Version (3.2.7)\label{app-changes-from-3.2.7}}

Modified: httpd/mod_python/trunk/lib/python/mod_python/__init__.py
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/lib/python/mod_python/__init__.py?rev=395767&r1=395766&r2=395767&view=diff
==============================================================================
--- httpd/mod_python/trunk/lib/python/mod_python/__init__.py (original)
+++ httpd/mod_python/trunk/lib/python/mod_python/__init__.py Thu Apr 20 20:45:51 2006
@@ -20,5 +20,5 @@
 __all__ = ["apache", "cgihandler", "psp",
            "publisher", "util", "python22"]
 
-version = "3.3.0-dev-20060420"
+version = "3.3.0-dev-20060421"
 

Modified: httpd/mod_python/trunk/src/include/mpversion.h
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/src/include/mpversion.h?rev=395767&r1=395766&r2=395767&view=diff
==============================================================================
--- httpd/mod_python/trunk/src/include/mpversion.h (original)
+++ httpd/mod_python/trunk/src/include/mpversion.h Thu Apr 20 20:45:51 2006
@@ -1,5 +1,5 @@
 #define MPV_MAJOR 3
 #define MPV_MINOR 3
 #define MPV_PATCH 0
-#define MPV_BUILD 20060420
-#define MPV_STRING "3.3.0-dev-20060420"
+#define MPV_BUILD 20060421
+#define MPV_STRING "3.3.0-dev-20060421"

Modified: httpd/mod_python/trunk/src/mod_python.c
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/src/mod_python.c?rev=395767&r1=395766&r2=395767&view=diff
==============================================================================
--- httpd/mod_python/trunk/src/mod_python.c (original)
+++ httpd/mod_python/trunk/src/mod_python.c Thu Apr 20 20:45:51 2006
@@ -2284,8 +2284,10 @@
     python_directive_handler(cmd, mconfig, "PythonTransHandler", val, SILENT);
     python_directive_handler(cmd, mconfig, "PythonHeaderParserHandler", val, SILENT);
     python_directive_handler(cmd, mconfig, "PythonAccessHandler", val, SILENT);
+    python_directive_handler(cmd, mconfig, "PythonAuthenHandler", val, SILENT);
     python_directive_handler(cmd, mconfig, "PythonAuthzHandler", val, SILENT);
     python_directive_handler(cmd, mconfig, "PythonTypeHandler", val, SILENT);
+    python_directive_handler(cmd, mconfig, "PythonFixupHandler", val, SILENT);
     python_directive_handler(cmd, mconfig, "PythonHandler", val, SILENT);
     python_directive_handler(cmd, mconfig, "PythonInitHandler", val, SILENT);
     python_directive_handler(cmd, mconfig, "PythonLogHandler", val, SILENT);