Getting a 500 Error under mod_wsgi with no error logs

82 views
Skip to first unread message

Jake Newren

unread,
Nov 3, 2012, 8:55:55 PM11/3/12
to pylons...@googlegroups.com
I've been trying to get the sample mod_wsgi app described here:


Running under apache + mod_wsgi under CentOS 6 (completely updated) and I end up getting a 500 error with nothing showing up in my log files telling me why. If anybody has figured out why this happens and has a way to work on it I would be very appreciative for any help.

Apache config:

<VirtualHost 192.168.2.8:443>
    SSLEngine On
    SSLCertificateFile /etc/pki/tls/certs/training.example.com.crt
    SSLCertificateKeyFile /etc/pki/tls/private/training.example.com.key

    LogLevel info
    ErrorLog logs/training.example.com-error_log
    CustomLog logs/training.example.com-access_log common

    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    WSGIDaemonProcess training.example.com threads=25 user=web group=web python-path=/srv/training.example.com/lib/python2.6/site-packages
    WSGIProcessGroup training.example.com
    WSGIScriptAlias / /srv/training.example.com/Training/prod.wsgi

    <Directory /srv/training.example.com/Training>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

prod.wsgi:

from pyramid.paster import get_app, setup_logging
setup_logging(ini_path)
application = get_app(ini_path, 'main')
Reply all
Reply to author
Forward
0 new messages