擅长:python、mysql、java
<p>这是一个丑陋的解决办法。在</p>
<p>我创建了一个单元测试用例,它在股票开发环境中运行良好。基于此,我在Apache服务器上使用了上面提到的<code>RemoteMilddleware.process_request()</code>函数,并禁用了<code>user</code>属性的测试。然后它工作得很好。。。在</p>
<p>我不打算选择这个作为答案,但是我想我应该为其他被阻止的人记录这个解决方法。我会查一查缺陷报告。在</p>
<p>有人知道一个正确的解决方案或者如何在Apache2中攻击它?所有的回溯和变量信息都表明Apache正确地设置了远程用户,但是Django1.3没有正确地使用它来进行身份验证。在</p>