Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 .htaccess 中设置 WSGIPassAuthorization On 指令时遇到问题。
任何人都可以建议如何将此变量添加到 .htaccess ?
非常感谢。
当您尝试时,您实际上并没有说明您得到的具体错误是什么。
您的 Apache 是否已配置为允许使用 .htaccess 文件?
您的 Apache 是否已配置为允许在 .htaccess 文件中覆盖 FileInfo?
AllowOverride FileInfo
两者都需要 WSGIPassAuthorization 在 .htaccess 文件中工作。
因此,请告诉我们您在浏览器和 Apache 错误日志中遇到的错误。
说明您是否已采取上述步骤。