mod_wsgi now called python2-mod_wsgi
[myplc.git] / plc.d / httpd
index 48c8beb..6180e6e 100755 (executable)
@@ -183,7 +183,7 @@ EOF
                # with mod_python preferred
                if rpm -q mod_python >& /dev/null ; then
                    configure_for_mod_python=true
-               elif rpm -q mod_wsgi >& /dev/null ; then
+               elif rpm -q mod_wsgi >& /dev/null || rpm -q python2-mod_wsgi >& /dev/null ; then
                    configure_for_mod_wsgi=true
                else
                    echo "Requires mod_python or mod_wsgi.... exiting"