From owner-freebsd-questions Sun Nov 7 16:51:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from donhm.calcasieu.com (tcnet22-006.austin.texas.net [209.99.97.6]) by hub.freebsd.org (Postfix) with ESMTP id 9E48514C26 for ; Sun, 7 Nov 1999 16:51:05 -0800 (PST) (envelope-from dread@donhm.calcasieu.com) Received: (from dread@localhost) by donhm.calcasieu.com (8.9.3/8.9.3) id SAA34838; Sun, 7 Nov 1999 18:50:22 -0600 (CST) (envelope-from dread) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3.0.5.32.19991107003856.054da9a0@ccsales.com> Date: Sun, 07 Nov 1999 18:50:21 -0600 (CST) From: Don Read To: "Randy A. Katz" Subject: RE: Out of context - Apache question Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 07-Nov-99 Randy A. Katz wrote: > Hi, > > I know this is not a FreeBSD question but I thought I might find an answer > here. > Does anyone know how to unauthorize a user from the CGI? That would set the > $ENV{REMOTE_USER} variable back to null and cause it to re-request > authorization? > send a Authenticate 401 header. in php : Header("WWW-authenticate: basic realm=\"myrealm\""); Header("HTTP/1.0 401 Unauthorized"); echo "\n\n"; -- Don Read dread@calcasieu.com EDP Manager dread@texas.net Calcasieu Lumber Co. Austin TX -- No Coffee No Peace To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message