Resolved: (MODPYTHON-72) mod_python.publisher no longer pays attention to result of re
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-72) mod_python.publisher no longer pays attention to result of re




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

    Resolved: (MODPYTHON-72) mod_python.publisher no longer pays attention to result of re  
Nicolas Lehuen (JIRA)


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


 
08-27-05 10:46 PM

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

Nicolas Lehuen resolved MODPYTHON-72:
-------------------------------------

Fix Version: 3.2.0
Resolution: Fixed
Assign To:     (was: Nicolas Lehuen)

Integrated Graham's patch, ran the unit test suite, everything is OK. Graham
, I need a confirmation for your particular test case, though.

> mod_python.publisher no longer pays attention to result of req.get_addhand
ler_exts()
> --------------------------------------------------------------------------
----------
>
>          Key: MODPYTHON-72
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-72
>      Project: mod_python
>         Type: Bug
>     Versions: 3.2.0
>     Reporter: Nicolas Lehuen
>      Fix For: 3.2.0
>  Attachments: publisher.txt
>
> Says Graham :
>     A final issue, is that latest mod_python.publisher no longer pays
>     attention to result of req.get_addhandler_exts(). This means that wher
e
>     you used to be able to say:
>        # .htaccess
>        AddHandler mod_python .html
>        PythonHandler mod_python.publisher
>        # page.py
>        def index():
>          return "<html></body><p>XXX</p></body></html>"
>     with URL of "/page.html", this no longer appears to work for me. In
>     short it appears that one can only use ".py" as an extension or no
>     extension at all. Defining another extension to AddHandler or
>     PythonHandler seems to have no effect.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:48 AM.      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