[mod_python] Pythonoutputfilter

Graham Dumpleton graham.dumpleton at gmail.com
Fri Jun 26 23:57:52 EDT 2009


2009/6/27 Alpcan Aydın <alpcan92 at gmail.com>:
> I've tried example in
> http://www.modpython.org/live/current/doc-html/pyapi-filter.html. But I
> couldn't do it. It gave me Internal Server Error. This error not interested
> with PythonDebug. It's already on.
>
> So, Can you show me a simple example about this. For example I couldn't find
> where I should put filter file.
> Thanks for help...

Why are you wanting to use output filters anyway? It is rather an
advanced part of mod_python that very very few would need. Normally
you would want to become quite familiar with core functionality of
mod_python before considering use of filters. That you are struggling
suggests you aren't particularly familiar with mod_python.

Anyway, without you finding the error in the appropriate Apache error
log and without you even describing where and how you configured
Apache and setup your Python code, hard to suggest what is wrong.

Graham



More information about the Mod_python mailing list