[Answer]-Openshift 2.1 cannot set OPENSHIFT_PYTHON_WSGI_APPLICATION using action hooks

1👍

The environment variable OPENSHIFT_PYTHON_WSGI_APPLICATION can be set to a relative path like this:

rhc env set OPENSHIFT_PYTHON_WSGI_APPLICATION=wsgi/wsgi.py

The openshift cartridge openshift-django17 by jfmatth uses this approach, too.

Leave a comment