Issue Details (XML | Word | Printable)

Key: MODPYTHON-28
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Nicolas Lehuen
Reporter: Nicolas Lehuen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

Add a standard test handler in the distribution

Created: 07/Mar/05 04:07 PM   Updated: 05/Mar/06 01:44 PM
Return to search
Component/s: None
Affects Version/s: 2.7.10, 3.1.4
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works modpython2.tex-jg20050528-1.diff 2005-05-28 11:56 PM Jim Gallacher 1 kB

Resolution Date: 28/May/05 08:01 PM


 Description  « Hide
Improving the testing phase of the installation is crucial as we get a steady stream of question from new users who can't run the mptest or are confused about its meaning (for example, the fact that any URL ending with .py runs the mptest handler is misleading at first).

We should include a standard mptest handler in the distribution so that we can better help beginners, without making them struggle with a new file PYTHONPATH, syntax errors in the handler, etc. Ideally, the mptest handler should display useful informations both in the Apache log and in the result page ; this would help us check their environment and provide better help.

The information displayed could be (both in the log and the result page) :

- Apache version (+MPM type if this information can be queried at runtime)
- Python version
- mod_python version
- sys.path
- mod_python.publisher available yes/no
- mod_python.psp available yes/no

Of course, if anything goes wrong, it should be clearly stated in the Apache log (no misleading 404 errors, please !).

The testing phase of the installation would then be : 1) set "SetHandler mod_python.mptest" directive and 2) watch the results. This would be far less messy as it is currently.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.