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
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...
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
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
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
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