ganz einfach mit ENV Variablen

SCRIPT_NAME = /rz/kredel/ex1.cgi
SERVER_NAME = webrum.uni-mannheim.de
SERVER_ADMIN = webmaster@uni-mannheim.de
HTTP_ACCEPT_ENCODING = x-gzip, gzip, deflate
REQUEST_METHOD = GET
HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
SCRIPT_FILENAME = /srv/www/htdocs/rz/kredel/ex1.cgi
SERVER_SOFTWARE = Apache/2.2.17 (Linux/SUSE)
QUERY_STRING =
REMOTE_PORT = 35980
HTTP_USER_AGENT = CCBot/2.0 (http://commoncrawl.org/faq/)
SERVER_PORT = 80
SERVER_SIGNATURE =
Apache/2.2.17 (Linux/SUSE) Server at webrum.uni-mannheim.de Port 80

REMOTE_ADDR = 54.162.241.40
SERVER_PROTOCOL = HTTP/1.0
PATH = /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/bin:/opt/kde3/bin
REQUEST_URI = /rz/kredel/ex1.cgi
GATEWAY_INTERFACE = CGI/1.1
HTTP_IF_MODIFIED_SINCE = Fri, 22 Sep 2017 18:56:26 GMT
SERVER_ADDR = 134.155.100.20
DOCUMENT_ROOT = /srv/www/htdocs
HTTP_HOST = webrum.uni-mannheim.de