Hello, I am a newbie and have been stuck trying to serve pyramid applications through apache using mod_wsgi. I think I have successfully configured mod_wsgi since when restarting apache I get this printed in error log file:
Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch mod_wsgi/3.3 Python/2.6.6 configured -- resuming normal operations Also I can run the 'hello world' wgsi script through cgi-bin. I think the problem I am having is using a wgsi script to redirect a pyramid app through apache. I have been following this recipe posted: http://docs.pylonsproject.org/projects/pyramid/1.0/tutorials/modwsgi/index.html After I serve the application, apache keeps looking for the application in the web root (ie., '/var/www/myapp') rather then my home directory where I set up the pyramid app. Here is the wgsi script that I am using for the redirect: from pyramid.paster import get_app application = get_app('/home/richard/modwsgi/env/myapp/ production.ini', 'main') thanks, Richard -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
