Skip to content

Commit 1eb45da

Browse files
committed
Deprecate mod_python issue2551005
Planning deprecation of mod_python. Intent it to replace with mod_wsgi, but we have no good docs for it.
1 parent 63d3018 commit 1eb45da

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

doc/FAQ.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ The cgi-bin is very slow!
2626
Yep, it sure is. It has to start up Python and load all of the support
2727
libraries for *every* request.
2828

29-
The solution is to use the built in server (or possibly the mod_python
30-
or WSGI support).
29+
The solution is to use the built in server (or possibly mod_wsgi
30+
or other WSGI support).
3131

3232
To make Roundup more seamless with your website, you may place the built
3333
in server behind apache and link it into your web tree (see below).

doc/customizing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4003,7 +4003,7 @@ be able to give a summary of the total time spent on a particular issue.
40034003
and 40 minutes).
40044004

40054005
6. If you're using a persistent web server - ``roundup-server`` or
4006-
``mod_python`` for example - then you'll need to restart that to pick up
4006+
``mod_wsgi`` for example - then you'll need to restart that to pick up
40074007
the code changes. When that's done, you'll be able to use the new
40084008
time logging interface.
40094009

doc/features.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ from Ka-Ping Yee in the Software Carpentry "Track" design competition.
6262
- authentication of user registration and user-driven password resetting
6363
using email and one time keys
6464
- may be run using WSGI or through CGI as a normal cgi script, as a
65-
stand-alone web server, under mod_python or through Zope
65+
stand-alone web server, under mod_wsgi (mod_python is deprecated) or through Zope
6666
- searching may be performed using many constraints, including a full-text
6767
search of messages attached to issues
6868
- file attachments (added through the web or email) are served up with the

doc/installation.txt

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@ There are multiple web interfaces to choose from:
376376
2. `cgi-bin for limited-access hosting`_
377377
3. `stand-alone web server`_
378378
4. `Zope product - ZRoundup`_
379-
5. `Apache HTTP Server with mod_python`_
380-
6. `WSGI handler`_
379+
5. `WSGI handler`_ (to be written `Apache HTTP Server with mod_wsgi`_)
380+
6. `Apache HTTP Server with mod_python`_ (deprecated)
381381

382382
You may need to give the web server user permission to access the tracker home
383383
- see the `UNIX environment steps`_ for information. You may also need to
@@ -505,9 +505,23 @@ code tree lib/python/Products.
505505
When you next (re)start up Zope, you will be able to add a ZRoundup object
506506
that interfaces to your new tracker.
507507

508+
Apache HTTP Server with mod_wsgi
509+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
510+
511+
This needs to be developed by somebody. See:
512+
https://issues.roundup-tracker.org/issue2550566 to see if there has
513+
been something developed.
514+
515+
See the main web site for `mod_wsgi`_.
516+
508517
Apache HTTP Server with mod_python
509518
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
510519

520+
As of roundup 2.0, mod_python support is deprecated. The apache.py
521+
file is still available, but may be limited to working for Python 2
522+
only. Using mod_wsgi with Apache is the recommended way to deploy
523+
roundup under apache.
524+
511525
`Mod_python`_ is an `Apache`_ module that embeds the Python interpreter
512526
within the server. Running Roundup this way is much faster than all
513527
above options and, like `web server cgi-bin`_, allows you to use HTTPS
@@ -1119,6 +1133,7 @@ from installation and scripts.
11191133
.. _apache: http://httpd.apache.org/
11201134
.. _flup: https://pypi.org/project/flup/
11211135
.. _mod_python: http://modpython.org/
1136+
.. _mod_wsgi: https://pypi.org/project/mod-wsgi/
11221137
.. _MySQLdb: https://pypi.org/project/mysqlclient/
11231138
.. _Psycopg: http://initd.org/psycopg/
11241139
.. _pysqlite: https://pysqlite.org/

0 commit comments

Comments
 (0)