Apache2.4中开通HTTP基本认证,需要在Apache的配置文件中增加如下代码 WSGIPassAuthorization On 否则则无法认证 转载于:https://www.cnblogs.com/maplye/p/5361629.html