2008/10/30 Manuzhai <[EMAIL PROTECTED]>:
>
> On Wed, Oct 15, 2008 at 1:42 AM, Graham Dumpleton
> <[EMAIL PROTECTED]> wrote:
>> At the moment mod_wsgi will coexist with mod_python in same Apache
>> installation. This is done at some cost though because of mod_python
>> being broken in various ways. Specifically, the following issues exist
>> when both mod_wsgi and mod_python loaded at same time, because of
>> mod_python being broken.
>
> As someone who currently runs mod_python and mod_wsgi in the same
> Apache, it would be very helpful if there was a package that I could
> use to morph WSGI requests into a mod_python-like request object, so
> there's minimal porting.

It isn't necessarily that simple, as mod_python provides a lot more
than just a wrapper for Apache request object.

I haven't touched it for a long time as no one was interested, but for
work in progress see:

  http://modwsgi.googlecode.com/svn/sandbox/ap_swig_py/

One must use embedded mode, but idea is that you set:

  WSGIApacheExtensions On

Then one can access 'apache.request_rec' from WSGI environment and use
that as input handle for SWIG binding to Apache request object.

I don't have an example of machine I am on at the moment, but will dig
one up tomorrow.

There was still a reasonable amount of work still to go on it though.

Graham



> Cheers,
>
> Dirkjan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to