Issue Details (XML | Word | Printable)

Key: MODPYTHON-72
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Nicolas Lehuen
Votes: 0
Watchers: 0
Operations

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

mod_python.publisher no longer pays attention to result of req.get_addhandler_exts()

Created: 10/Aug/05 09:53 PM   Updated: 05/Mar/06 02:18 PM
Return to search
Component/s: None
Affects Version/s: 3.2.7
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works publisher.txt 2005-08-27 08:49 PM Graham Dumpleton 4 kB

Resolution Date: 28/Aug/05 05:47 AM


 Description  « Hide
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 where
    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.




 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.