mod_python

Mod_python is an Apache module that embeds the Python language interpreter within the server, allowing for Apache handlers to be written in Python for faster and more powerful applications than plain CGI.

Tags Software Development
Licenses Apache

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  05 Jul 2001 03:07
  • Rrelease-after

Changes: Bug fixes, etc.

  • Rrelease-mid
  •  04 Jun 2001 14:16
  • Rrelease-after

No changes have been submitted for this release.

  • Rrelease-mid
  •  13 May 2001 00:49
  • Rrelease-after

Changes: This release includes a few minor bugfixes, mostly Solaris related.

  • Rrelease-mid
  •  21 Feb 2001 18:07
  • Rrelease-after

Changes: Some bugfixes (particularly a module traversal security issue in the publisher handler) and some small features in the publisher handler relating to authentication and access.

  • Rrelease-mid
  •  30 Jan 2001 06:13
  • Rrelease-after

    Changes: Improved documentation and many new features.

    Rss Recent comments

    Rcomment-before 13 May 2001 13:44 Rcomment-trans beagle2 Rcomment-after

    Re: diff
    mod_snake is much more than the CGI accelerator described by the previous post. It provides complete access to the Apache internals.

    mod_snake is more low-level than mod_python. It's possible to build the mod_python user model with mod_snake, but not vice versa.

    Rcomment-before 12 Dec 2000 15:03 Rcomment-trans rangerelf Rcomment-after

    Re: diff

    Hmmm... I'll hazard a guess.

    mod_snake, from what I gathered while experimenting with it (for a little while, I confess, because it seemed to me a bit limited in scope), seems to be a Python CGI accelerator, it keeps the Python interpreter at hand, so when it needs to run a Python CGI, it just passes the script to it's interpreter along with all relevant CGI information, and lets it rip. Also, it has the added convenience of not having to reload the script every time it's run, only on it's first invocation or after a modification (date changes between *.py and *.pyc).

    And, on the other hand, mod_python is a handler, which can interface directly with Apache and it's internal module API; so, you can write Python extensions to Apache, use Python to handle many chores like authentication, pre-/post- connection processing, URL translation, etc... it depends on what part of the HTTP handshake you want to handle, and write a Python handler for that chore.

    So, it seems to me that mod_python is much more flexible than mod_snake, but with the added disadvantage of being more complicated to develop for. Check them both out, to see which benefits you more.

    -elf

    Rcomment-before 23 Oct 2000 04:09 Rcomment-trans karellen Rcomment-after

    diff?
    What are the differences between this and mod_snake? two
    parallel projects trying to acquire the same functionality?

    No-screenshot

    Project Spotlight

    Konstrukt

    A framework of controllers for PHP5.

    14ca06d9a9fe3a967b0cd28b225b71d2_thumb

    Project Spotlight

    bareFTP

    A file transfer client.