Running 1.4 with mod_ptython and wsgi

Michael Guntsche <mike-Z92qn3yYq0hWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
Hello,

I made the switch to latest 1.4 version today and noticed that the  
setup for WSGI had changed.
With 1.3 I had

PythonHandler mp_wsgi_handler::wsgi_handler
        # This should be the same as the Location above
        PythonOption ApplicationPath /weblog
        PythonOption application wsgi_app::application

according to the docs for 1.4 PyBlosxomWSGIApp from  
Pyblosxom.pyblosxom should be used instead.
The problem is now that I cannot figure out how to set PythonOption  
application correctly, since PyBlosxomWSGIApp is now a class. After  
several tries I created a new wsgi_app.py file

from Pyblosxom import pyblosxom

application = pyblosxom.PyBlosxomWSGIApp()

and I left wsgi_app::application as is. Now for me it does not look  
like that's the way it is supposed to be.
Can someone give me an example how to configure this correctly?

Kind regards,
Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Pyblosxom-devel mailing list
Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
smime.p7s (application/pkcs7-signature, 2.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.