From owner-freebsd-questions Mon Feb 12 15:47:03 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA13788 for questions-outgoing; Mon, 12 Feb 1996 15:47:03 -0800 (PST) Received: from brack.cetlink.net (root@firewall-rhsc.cetlink.net [206.31.104.5]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA13779 for ; Mon, 12 Feb 1996 15:46:59 -0800 (PST) Received: from tad.cetlink.net (root@tad.cetlink.net [206.31.105.10]) by brack.cetlink.net (8.7.3/8.7.3) with ESMTP id SAA12986 for ; Mon, 12 Feb 1996 18:48:30 -0500 (EST) Received: by tad.cetlink.net (8.7.3) id SAA01177; Mon, 12 Feb 1996 18:49:16 -0500 (EST) From: Message-Id: <199602122349.SAA01177@tad.cetlink.net> Subject: Apache help needed To: questions@freebsd.org Date: Mon, 12 Feb 1996 18:49:16 -0500 (EST) X-Mailer: ELM [version 2.4 PL24 ME7] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Hi, I'm wondering how I go about obtaining the following information from the apache server. I need to get the remote username and remote auth type if available. I can run the test-cgi script supplied with apache, but when I run it, I only get this information: CGI/1.0 test script report: argc is 0. argv is . SERVER_SOFTWARE = Apache/1.0.2 SERVER_NAME = www.cetlink.net GATEWAY_INTERFACE = CGI/1.1 SERVER_PROTOCOL = HTTP/1.0 SERVER_PORT = 80 REQUEST_METHOD = GET HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* PATH_INFO = PATH_TRANSLATED = SCRIPT_NAME = /cgi-bin/test-cgi QUERY_STRING = REMOTE_HOST = tad.cetlink.net REMOTE_ADDR = 206.31.105.10 REMOTE_USER = REMOTE_IDENT = AUTH_TYPE = CONTENT_TYPE = CONTENT_LENGTH = How can I get the missing fields? Any help is *greatly* appreciated. -jeff