| Nicolas Lehuen (JIRA) 2005-08-10, 5:47 pm |
| [ http://issues.apache.org/jira/brows...HON-72?page=all ]
Nicolas Lehuen reassigned MODPYTHON-72:
---------------------------------------
Assign To: Nicolas Lehuen
> mod_python.publisher no longer pays attention to result of req.get_addhandler_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
> Assignee: Nicolas Lehuen
>
> 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.
|