问题描述
我测试Drupal站点开发服务器上运行一堆其他发展用地。所有的网站都有密码htpasswd所全球受保护。不过,我需要没有密码保护我的测试网站,因为我在我的.htaccess,这似乎与Apache的密码冲突使用Apache指令与AuthType Shibboleth的测试另一种身份验证方法。
I am testing a Drupal site on a development server that runs bunch of other development sites. All of the sites are password protected globally by htpasswd. However, I need to not have password protection on my testing site because I am testing another authentication method using Apache directive "AuthType Shibboleth" in my .htaccess, which seems in conflict with Apache password.
我如何关闭htpasswd的保护,我的网站只有全球的htpasswd的有效期为其他网站吗?
How do I turn off htpasswd protection for my site only with global htpasswd in effect for other sites?
推荐答案
在你不希望永远保护站点的根目录的.htaccess中的下面一行对我的作品:
The following line in an .htaccess in the root of the site you DON'T want protected always works for me:
satisfy any
这篇关于重写全球htpasswd的密码保护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!