Date: Sun, 07 Nov 1999 18:50:21 -0600 (CST) From: Don Read <dread@donhm.calcasieu.com> To: "Randy A. Katz" <randyk@ccsales.com> Cc: questions@FreeBSD.ORG Subject: RE: Out of context - Apache question Message-ID: <XFMail.991107185021.dread@donhm.calcasieu.com> In-Reply-To: <3.0.5.32.19991107003856.054da9a0@ccsales.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<METAHTTP-EQUIV=\"Refresh\"CONTENT=\"1;URL=http://www.mydomain.com/\">"; -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991107185021.dread>