我在哪里可以把" WSGIPassAuthorization在"? [英] Where do I put "WSGIPassAuthorization On"?

查看:297
本文介绍了我在哪里可以把" WSGIPassAuthorization在"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想看到在Django Authorization头,使用mod_wsgi的。我读了阿帕奇阻碍了默认授权头,我已经把<< WSGIPassAuthorization在>>在我的Apache的VirtualHost块。 。 。虚无缥缈。

I'm trying to see the Authorization header in Django, using mod_wsgi. I read that Apache holds back the Authorization header by default, I've put << WSGIPassAuthorization On >> in my Apache VirtualHost block and . . . nada.

我如何找出哪里放呢?

推荐答案

把它在同一地点WSGIScriptAlias​​,它应该工作正常。

Put it at same place as WSGIScriptAlias and it should work fine.

这篇关于我在哪里可以把&QUOT; WSGIPassAuthorization在&QUOT;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆