Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef5fed4 commit f7efd0bCopy full SHA for f7efd0b
1 file changed
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