note 70305 added to features.http-auth

From: Date: Wed, 11 Oct 2006 03:12:42 +0000
Subject: note 70305 added to features.http-auth
Groups: php.notes 
Request: Send a blank email to php-notes+get-118383@lists.php.net to get a copy of this message
For PHP with CGI, make sure you put the rewrite rule above any other rewrite rule you might have. In my case, I put this at the top of the .htaccess (below RewriteEngine On): RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}] My symptom was that the REMOTE_USER (or REDIRECT_REMOTE_USER in my case) was not being set at all. The cause: I had some other RewriteRule that was kickin in and was set as LAST rule. I hope this helps. ---- Server IP: 216.235.15.211 Probable Submitter: 24.37.112.65 ---- Manual Page -- http://www.php.net/manual/en/features.http-auth.php Edit -- https://master.php.net/note/edit/70305 Del: integrated -- https://master.php.net/note/delete/70305/integrated Del: useless -- https://master.php.net/note/delete/70305/useless Del: bad code -- https://master.php.net/note/delete/70305/bad+code Del: spam -- https://master.php.net/note/delete/70305/spam Del: non-english -- https://master.php.net/note/delete/70305/non-english Del: in docs -- https://master.php.net/note/delete/70305/in+docs Del: other reasons-- https://master.php.net/note/delete/70305 Reject -- https://master.php.net/note/reject/70305 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118383) next »