美文网首页
php 获取不到header中的Authorization

php 获取不到header中的Authorization

作者: 小进我是爸爸 | 来源:发表于2020-10-08 17:00 被阅读0次

<IfModule mod_rewrite.c>
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
</IfModule>

相关文章

网友评论

      本文标题:php 获取不到header中的Authorization

      本文链接:https://www.haomeiwen.com/subject/ckjhpktx.html