Resolved: (MODPYTHON-28) Add a standard test handler in the distribution
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Resolved: (MODPYTHON-28) Add a standard test handler in the distribution




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Resolved: (MODPYTHON-28) Add a standard test handler in the distribution  
Nicolas Lehuen (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-28-05 12:45 PM

[ http://issues.apache.org/jira/brows...HON-28?page=all ]

Nicolas Lehuen resolved MODPYTHON-28:
-------------------------------------

Resolution: Fixed

I've added a bit of documentation about testing and using the testhandler. D
espite my efforts, I did not manage to install a proper LaTeX environnement 
to check my modifications, so I hope everything is OK.

> Add a standard test handler in the distribution
> -----------------------------------------------
>
>          Key: MODPYTHON-28
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-28
>      Project: mod_python
>         Type: Improvement
>     Versions: 3.1.4, 2.7.10
>     Reporter: Nicolas Lehuen
>     Assignee: Nicolas Lehuen
>      Fix For: 3.2.0

>
> Improving the testing phase of the installation is crucial as we get a steady stre
am of question from new users who can't run the mptest or are confused about its mea
ning (for example, the fact that any URL ending with .py runs the mptest handler is 
mis
leading at first).
> We should include a standard mptest handler in the distribution so that we can bet
ter help beginners, without making them struggle with a new file PYTHONPATH, syntax 
errors in the handler, etc. Ideally, the mptest handler should display useful inform
ati
ons both in the Apache log and in the result page ; this would help us check their environme
nt 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 Apac
he log (no misleading 404 errors, please !).
> The testing phase of the installation would then be : 1) set "SetHandler mod_pytho
n.mptest" directive and 2) watch the results. This would be far less messy as it is 
currently.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:33 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register