[modwsgi] I use WSGIDaemonProcess server user=demon group=demon but it still use www-data user

2011-11-24 Thread Chunlin Zhang
I user ubuntu 10.04 Apache/2.2.14 mod_wsgi 2.8. I use WSGIDaemonProcess server user=demon group=demon ,but when I print sys.stderr,os.environ,I see the result: ''' [Fri Nov 25 15:23:12 2011] [error] {'LANG': 'C', 'SHLVL': '1', 'APACHE_RUN_USER': 'www-data', 'APACHE_PID_FILE': '/var/run/

[modwsgi] Re: I use WSGIDaemonProcess server user=demon group=demon but it still use www-data user

2011-11-24 Thread Chunlin Zhang
After I add WSGIProcessGroup directive,my app work ok now,but the print sys.stderr,os.environ still www-data. It works now but weird. On Fri, Nov 25, 2011 at 3:28 PM, Chunlin Zhang zhangchun...@gmail.com wrote: I user ubuntu 10.04 Apache/2.2.14 mod_wsgi 2.8. I use WSGIDaemonProcess server user

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-16 Thread Chunlin Zhang
command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration . and the WSGIScriptAlias is ok. Thanks! On Thu, Apr 16, 2009 at 11:31 AM, Chunlin Zhang zhangchun...@gmail.com wrote: It is OK now! I reinstall with python 2.6.2 and now works

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-16 Thread Chunlin Zhang
Zhang zhangchun...@gmail.com wrote: It is OK now! I reinstall with python 2.6.2 and now works. Thank you very much! On Thu, Apr 16, 2009 at 9:33 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/4/16 Chunlin Zhang zhangchun...@gmail.com: On Thu, Apr 16, 2009 at 4:56 AM, Graham

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread Chunlin Zhang
On Thu, Apr 16, 2009 at 4:56 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/4/15 chunlin zhangchun...@gmail.com: I just check my python installation,found the directory is C: \Documents and Settings\All Users\...\Python 2.6,so I chose All Users. That isn't necessarily

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread Chunlin Zhang
It is OK now! I reinstall with python 2.6.2 and now works. Thank you very much! On Thu, Apr 16, 2009 at 9:33 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/4/16 Chunlin Zhang zhangchun...@gmail.com: On Thu, Apr 16, 2009 at 4:56 AM, Graham Dumpleton graham.dumple...@gmail.com