get context from different environment variable

this is supposed to be the case when using webserver + cgi