You use /opt/web-apps/web2py_2.9.5/ in one place and /opt/web-apps/web2py/ in other places. Besides, you should copy the wsgihandler.py into the web2py directory, don't call the file directly from handlers... (unless you've modified the paths within, but running directly from handlers isn't a really clean way of doing things...).
Have you made any other changes? For example, things like WSGISocketPrefix run/wsgi, was this used and working before? Regards On Sunday, April 20, 2014 4:25:29 PM UTC+2, lucas wrote: > > hello everyone, > > i just upgraded from web2py 2.4.6 to 2.9.5. i am running centos 6.5 with > apache httpd server 2.2.15 and mod_wsgi is 3.2.3. > > i have no applications installed yet, just trying to get the default > welcome, examples, and admin interfaces working. apache returns, "500 > Internal Server Error". not sure where to start to fix the error. > > here is my /etc/httpd/conf.d/wsgi.conf file: > BOF... > LoadModule wsgi_module modules/mod_wsgi.so > WSGIDaemonProcess web2py user=apache group=apache > WSGIApplicationGroup %{GLOBAL} > WSGIProcessGroup web2py > WSGISocketPrefix run/wsgi > WSGIScriptAlias / /opt/web-apps/web2py_2.9.5/handlers/wsgihandler.py > ...EOF > > here is my /etc/httpd/conf.d/default.conf file: > BOF... > NameVirtualHost *:80 > NameVirtualHost *:443 > > <VirtualHost *:443> > SSLEngine on > SSLCertificateFile /etc/httpd/ssl/self_signed.cert > SSLCertificateKeyFile /etc/httpd/ssl/self_signed.key > > <Directory /opt/web-apps/web2py> > AllowOverride None > Order Allow,Deny > Deny from all > <Files wsgihandler.py> > Allow from all > </Files> > </Directory> > > AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) > /opt/web-apps/web2py/applications/$1/static/$2 > > <Directory /opt/web-apps/web2py/applications/*/static> > Options -Indexes > ExpiresActive On > ExpiresDefault "access plus 1 hour" > Order Allow,Deny > Allow from all > </Directory> > > CustomLog /var/log/httpd/access_log common > ErrorLog /var/log/httpd/error_log > </VirtualHost> > ...EOF > > here is my /etc/httpd/conf.d/welcome.conf file: > BOF... > <LocationMatch "^/+$"> > Options -Indexes > ErrorDocument 403 /error/noindex.html > </LocationMatch> > ...EOF > > thanx for your help in advance, lucas > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.