我目前使用下面的指令将NTLM身份validation应用到我们的Drupal安装,但我需要排除一些path。 我已经尝试添加指令,我想排除特定的path,但他们仍然需要身份validation。
我将如何去改变它,所以authentication是在所有网站上完成的,除了一个指定的子URI列表。 EG / nodejs / message,/ wiki-auth。 正如你在下面看到的,我没有成功尝试添加一些允许访问/ nodejs / message的指令
<Directory "/srv/##/public_html"> AuthName "NTLM Authentication thingy" NTLMAuth on NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmss$ NTLMBasicAuthoritative on AuthType NTLM require valid-user </Directory> <VirtualHost *:80> ServerName ## DocumentRoot /srv/##/public_html ErrorLog /srv/##/logs/error.log CustomLog /srv/##/logs/access.log combined LogLevel warn <Location "/server-status"> SetHandler server-status Satisfy any AuthType None Require all granted Deny from all Allow from #### </Location> <Location "/nodejs/message"> Satisfy any AuthType None Allow from all </Location> </VirtualHost>