note 94164 added to features.http-auth

From: Date: Tue, 20 Oct 2009 17:52:20 +0000
Subject: note 94164 added to features.http-auth
Groups: php.notes 
Request: Send a blank email to php-notes+get-161911@lists.php.net to get a copy of this message
After we do auth with PHP in Apache, we miss the userid in the access.log file, unless we redefine the LogFormat to be "%{REMOTE_USER}e" rather than "%u", and upon successful authentication we do <?php apache_setenv('REMOTE_USER', $user); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 85.18.98.155 ---- Manual Page -- http://www.php.net/manual/en/features.http-auth.php Edit -- https://master.php.net/note/edit/94164 Del: integrated -- https://master.php.net/note/delete/94164/integrated Del: useless -- https://master.php.net/note/delete/94164/useless Del: bad code -- https://master.php.net/note/delete/94164/bad+code Del: spam -- https://master.php.net/note/delete/94164/spam Del: non-english -- https://master.php.net/note/delete/94164/non-english Del: in docs -- https://master.php.net/note/delete/94164/in+docs Del: other reasons-- https://master.php.net/note/delete/94164 Reject -- https://master.php.net/note/reject/94164 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161911) next »