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

2009-04-15 Thread chunlin
Apache Version :Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/ 0.9.8e mod_autoindex_color mod_auth_sspi/1.0.4 SVN/1.4.3 mod_wsgi/2.4 Python/2.6.1 PHP/5.2.4 the mod_wsgi I am using is this one: http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-win32-ap22py26-2.4.so I have add

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

2009-04-15 Thread chunlin
to Python not being installed so as to be available to all users. So, reinstall it as user with Administrator rights and install it for all users when prompted. Graham 2009/4/15 Graham Dumpleton graham.dumple...@gmail.com: 2009/4/15 chunlin zhangchun...@gmail.com: Apache Version

[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

[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
On Thu, Apr 16, 2009 at 6:40 PM, Graham Dumpleton graham.dumple...@gmail.com 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, Apr 16, 2009 at 11:31 AM, Chunlin

[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