I have an application which needs visitor's referer in order to work properly. I am using $_SERVER['HTTP_REFERER']; to find the referer, but this doesn't seem to work on Openshift, since Openshift's proxy removes the referer variable set by the user.