[modwsgi] Re: wsgi info()

2008-09-23 Thread Manuzhai
Heh, I just made this info.wsgi up yesterday: def application(env, respond): respond('200 OK', [('Content-Type', 'text/plain')]) for k, v in sorted(env.iteritems()): yield '%s: %r\n' % (k, v) I've wanted this before, and since I always used to keep an info.php lying around, as

[modwsgi] Re: mod_wsgi

2008-09-23 Thread issya
Thanks for the follow-up and thanks for adding it to the mailing list. I should have did that in the first place. You don't say whether Apache is compiled for prefork or worker MPM. As for the version of apache, it is whatever installed as the default ubuntu package when I installed mod_wsgi.

[modwsgi] Re: mod_wsgi on Python 3.0 (was Re: Python 2.6 and migration warnings flag for Python 3.0.)

2008-09-23 Thread Brian Smith
Graham Dumpleton wrote: I am quite ignorant on the intricacies of unicode, but I thought the whole thing with Latin 1 was that all 255 characters would convert and so it couldn't fail in converting to Unicode. Presuming I haven't got this wrong as I usually do with unicode stuff, but

[modwsgi] Re: Trying to install, but getting syntax error

2008-09-23 Thread Graham Dumpleton
2008/9/24 nerdydork [EMAIL PROTECTED]: I'm using make install (I following this tutorial: http://m.andric.us/post/43754517/django-python-with-cpanel-whm) What is the output of running: ls -las /usr/lib/httpd/modules/mod_wsgi.so 248 -rwxr-xr-x 1 root root 247652 Sep 22 19:00

[modwsgi] Re: Trying to install, but getting syntax error

2008-09-23 Thread nerdydork
I ran strings -a /usr/lib/httpd/modules/mod_wsgi.so | grep AP2 and still no output. I looked in /usr/include/httpd/ and found ap_release.h. I opened it and noticed ... #define AP_SERVER_BASEVENDOR Apache Software Foundation #define AP_SERVER_BASEPRODUCT Apache #define AP_SERVER_MAJORVERSION

[modwsgi] Re: Trying to install, but getting syntax error

2008-09-23 Thread Graham Dumpleton
2008/9/24 nerdydork [EMAIL PROTECTED]: I ran strings -a /usr/lib/httpd/modules/mod_wsgi.so | grep AP2 and still no output. I looked in /usr/include/httpd/ and found ap_release.h. I opened it and noticed ... #define AP_SERVER_BASEVENDOR Apache Software Foundation #define

[modwsgi] Re: mod_wsgi

2008-09-23 Thread Graham Dumpleton
2008/9/23 issya [EMAIL PROTECTED]: Thanks for the follow-up and thanks for adding it to the mailing list. I should have did that in the first place. You don't say whether Apache is compiled for prefork or worker MPM. As for the version of apache, it is whatever installed as the default