Slashdot Mirror


Mod_Python for Apache 2.0 is released

semanticgap writes "The beauty of Python at Apache speeds! A couple of months after donation to ASF, a new mod_python is out under the Apache license. Main feature of this release is Apache 2.0 compatibility, including support for filters and connection handlers and many more enhancements. More info at www.modpython.org. Note that this release is not compatible with Apache 1.3."

2 of 19 comments (clear)

  1. mod_python works great - when it works by DrSkwid · · Score: 5, Informative

    mod_python for 1.3 had an annoying threading conflict. Which meant that the python version you needed for mod_python was generally different from the default install.
    It caught me out during a server replacement. I couldn't get it working on the fresh install.

    Luckily the mod_python code I'd used had been for internal administration that I could do manually. I spent the week re-writing the python in php.

    I've just read through the 3.0 manual and it looks like this restriction is lifted :

    2.1 Prerequisites

    * Python 2.2.1 or later. Earlier versions of Python will not work.
    * Apache 2.0.40 or later (For Apache 1.3.x, use mod_python version 2.7.x).

    In order to compile mod_python you will need to have the include files for both Apache and Python, as well as the Python library installed on your system. If you installed Python and Apache from source, then you already have everything needed. However, if you are using prepackaged software (e.g. Linux Red Hat RPM, Debian, or Solaris packages from sunsite, etc) then chances are, you have just the binaries and not the sources on your system. Often, the Apache and Python include files and libraries necessary to compile mod_python are part of separate "development" package. If you are not sure whether you have all the necessary files, either compile and install Python and Apache from source, or refer to the documentation for your system on how to get the development packages.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  2. Re:In Red Hat 8... by Anonymous Coward · · Score: 1, Informative

    It's got to be a beta. The release version is 3.0.1. If there is no RPM - compile it from scratch, it compiles on RH without a hinch.