我在哪里放置“WSGIPassAuthorization On"? [英] Where do I put "WSGIPassAuthorization On"?
本文介绍了我在哪里放置“WSGIPassAuthorization On"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 mod_wsgi 在 Django 中查看 Authorization 标头.我读到 Apache 默认阻止 Authorization 标头,我已经把 <<WSGIPassAuthorization On >> 在我的 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.
我怎么知道把它放在哪里?
How do I figure out where to put this?
推荐答案
将其与 WSGIScriptAlias 放在同一位置,它应该可以正常工作.
Put it at same place as WSGIScriptAlias and it should work fine.
这篇关于我在哪里放置“WSGIPassAuthorization On"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文