Hi - I have a Fedora Core 6 server and I'm trying to use mod_wsgi for the first time. I've gotten pretty far, I'm just having trouble getting daemon mode to work.
I am already running mod_python for one virtual host (which I hope to eventually replace with mod_wsgi). First of all, I had to create a symlink to the python shared library in my python2.4/config directory before the mod_wsgi.so file would use it. After making and make install I used the ldd command to verify that it had a dependency on the shared library version of python. I added the LoadModule line to my apache conf file and got apache up and running after doing a start and stop. Following along in the Quick Configuration guide, I got a test.py file containing the simple WSGI application created. I already have a site running wordpress on one of my virtual hosts at the root. As a test, I wanted to run the test.py file at mysite.com/ test. So I added the following lines to my configuration (inside my existing VirtualHost container): WSGIScriptAlias /test /var/local/wsgi-scripts/test.py <Directory /var/local/wsgi-scripts> Order allow,deny Allow from all </Directory> /var/local/wsgi-scripts is where I put my test.py file. I restarted apache, and visited mysite.com/test and received the expected output. Cool! So then the next step was to try the daemon mode. I added 2 more directives so it looks like this now: WSGIDaemonProcess mysite.com processes=2 threads=15 display-name=% {GROUP} WSGIProcessGroup mysite.com WSGIScriptAlias /test /var/local/wsgi-scripts/test.py <Directory /var/local/wsgi-scripts> Order allow,deny Allow from all </Directory> I restarted apache. When I now visit mysite.com/test the browser seems to hang. Eventually it just comes back with a white page. I'm fairly green with this stuff. Any advice to troubleshoot this? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modwsgi@googlegroups.com To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---