[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 wrote: > I user ubuntu 10.04 Apache/2.2.14 mod_wsgi 2.8. > I use WSGIDaemo

[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/ apache2.

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

2009-04-16 Thread Chunlin Zhang
On Thu, Apr 16, 2009 at 6:40 PM, Graham Dumpleton wrote: > > > Daemon mode is not available on Windows. Just drop the > WSGIDaemonProcess and WSGIProcessGroup directives. Will it be supported in the future? > > Graham > >> Thanks! >> >> On Thu,

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

2009-04-16 Thread Chunlin Zhang
following error: >>> Invalid 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 wrote: > It is O

[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 wrote: > > 2009/4/16 Chunlin Zhang : >> >> On Thu, Apr 16, 2009 at 4:56 AM, Graham Dumpleton >> wrote: >>> >>> 2009/4/15

[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 wrote: > > 2009/4/15 chunlin : >> >> 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 sufficient indication as there are registr