If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    cmj  12 years ago

    This line may not be the best option:

    echo "WSGISocketPrefix run/wsgi" >> /etc/httpd/conf.d/wsgi.conf
    

    There is guidance at http://code.google.com/p/modwsgi/wiki/ConfigurationIssues saying certain Linux distros incl Red Hat can lock down run/wsgi and cause an error, so instead to use /var/run/wsgi.  The above could be replaced with this:

    echo "WSGISocketPrefix /var/run/wsgi" >> /etc/httpd/conf.d/wsgi.conf
    

    I did this and it has eliminated certain errors.  My use of this has been on RHEL 6.2 only.

     

Commented on:

Updated script to automate deployment of web2py on recent versions of Fedora, CentOS, and Red Hat.

Hosting graciously provided by:
Python Anywhere