开发者

Overriding global htpasswd password protection

开发者 https://www.devze.com 2023-04-06 14:58 出处:网络
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 protec

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 usin开发者_运维问答g Apache directive "AuthType Shibboleth" in my .htaccess, which seems in conflict with Apache password.

How do I turn off htpasswd protection for my site only with global htpasswd in effect for other sites?


The following line in an .htaccess in the root of the site you DON'T want protected always works for me:

satisfy any
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号