On Fri, Feb 12, 2010 at 1:21 PM, Gunnlaugur Thor Briem <[email protected]
> wrote:
> I'll gladly try out apswigpy and tell you how it goes, but in the end I
> will probably want to avoid changing over to embedded mode if at all
> possible.
>
>
Tested it, worked fine except that I had to add version=(2,2) to
__init__.py, to work around the apache.httpd import bombing on the missing
version attribute. I set WSGIApacheExtensions On, and put this in a trivial
test.wsgi in an embedded-mode site:
req = apache.httpd.request_rec(environ["apache.request_rec"])
req.user = 'foo'
and sure enough, I got the foo username in the access log.
Still, a way that also works in daemon mode would be preferable.
- Gulli
--
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.