We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef5fed4 commit f7efd0bCopy full SHA for f7efd0b
ServerBag.php
@@ -46,13 +46,13 @@ public function getHeaders()
46
/*
47
* php-cgi under Apache does not pass HTTP Basic user/pass to PHP by default
48
* For this workaround to work, add these lines to your .htaccess file:
49
- * RewriteCond %{HTTP:Authorization} ^(.+)$
50
- * RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
+ * RewriteCond %{HTTP:Authorization} .+
+ * RewriteRule ^ - [E=HTTP_AUTHORIZATION:%0]
51
*
52
* A sample .htaccess file:
53
* RewriteEngine On
54
55
56
* RewriteCond %{REQUEST_FILENAME} !-f
57
* RewriteRule ^(.*)$ app.php [QSA,L]
58
*/
0 commit comments