[modwsgi] Re: WSGIDaemonProcess doesn't work with CherryPy

2009-07-13 Thread Aslan
Sorry.. I know the root cause of this issue... The cause is I set Directory as /i-data/md0/public/aslantest, but WSGIScriptAlias is set as /aslantest /i-data/6fadd30c/public/aslantest/ cherry.py /i-data/md0 is a softlink and points to /i-data/6fadd30c. But httpd can accept softlink. So this

[modwsgi] Re: WSGIDaemonProcess doesn't work with CherryPy

2009-07-13 Thread Graham Dumpleton
2009/7/13 Aslan cocoke...@gmail.com: Hi, I meet a problem about CheeryPy and WSGIDaemonProcess. If you can help, please give me some suggestions, THANKS I have a program which is built with CherryPy, it is very easy and shown as following...

[modwsgi] Re: Moving away from mod_python.

2009-07-13 Thread AJ Coon
Hello, Use of apache.import_module in our mod_python handler is primarily for application configuration files. Here is an example of usage: myconf = apache.import_module( MyConf, autoreload = 1, log = 1, path = appdir) I replaced these with __import__ statements as I found them. I'm

[modwsgi] 'make' issue

2009-07-13 Thread birkin
Graham, Upgrading to a new laptop... Downloaded 'mod_wsgi-2.5.tar.gz', and am using the default os x apache 2.2.11, and python 2.6.2 installed by macports. 'configure' looks fine, but 'make' yields: bbox:mod_wsgi-2.5 birkin$ make /usr/sbin/apxs -c

[modwsgi] Re: 'make' issue

2009-07-13 Thread Graham Dumpleton
Possibly addressed in mod_wsgi 2.6: http://code.google.com/p/modwsgi/wiki/ChangesInVersion0206 Either check out unreleased 2.6 from subversion branch, or at least grab updated copies of the two files: http://modwsgi.googlecode.com/svn/branches/mod_wsgi-2.X/configure

[modwsgi] Re: 'make' issue

2009-07-13 Thread Graham Dumpleton
Whoops. Actually jumped to wrong conclusions here as didn't read error messages properly. The problem is that your Python hasn't been installed for all architectures. See: http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX#Non_Universal_Developer_Tools To fix this properly, you