Use REQUEST_INFO rather than PATH_INFO