且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

请求标头包缺少Symfony 2中的授权标头?

更新时间:2022-03-16 09:08:41

您必须将此代码添加到虚拟主机

You must add this code to your virtualhost

    RewriteEngine On
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

在Virtualhost中工作标记,而不是目录标记。

Work in Virtualhost tag, not in Directory tag.