note 107642 added to features.http-auth
| From: | vog at notjusthosting dot com | Date: | Thu, 23 Feb 2012 11:54:28 +0000 |
| Subject: | note 107642 added to features.http-auth | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186318@lists.php.net to get a copy of this message | ||
You shouldn't use the "last" ("L") directive in the RewriteRule! This will
prevent all further rewrite rules to be skipped whenever a Basic or Digest Auth is given, which is
almost certainly not what you want.
So the following lines are sufficient for the .htaccess (or httpd.conf) file:
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
----
Server IP: 69.147.83.197
Probable Submitter: 62.96.207.15
----
Manual Page -- http://www.php.net/manual/en/features.http-auth.php
Edit -- https://master.php.net/note/edit/107642
Del: integrated -- https://master.php.net/note/delete/107642/integrated
Del: useless -- https://master.php.net/note/delete/107642/useless
Del: bad code -- https://master.php.net/note/delete/107642/bad+code
Del: spam -- https://master.php.net/note/delete/107642/spam
Del: non-english -- https://master.php.net/note/delete/107642/non-english
Del: in docs -- https://master.php.net/note/delete/107642/in+docs
Del: other reasons-- https://master.php.net/note/delete/107642
Reject -- https://master.php.net/note/reject/107642
Search -- https://master.php.net/manage/user-notes.php