Apache基本身份validation与IP白名单

我正在尝试添加某种IP白名单到我的HTTP基本身份validation受保护的目录之一。 我在CentOS 6.5上使用Apache 2.2.15,但是我也尝试在Ubuntu 10.04上使用Apache 2.2.22。

我看了一个例子的Apache维基: http : //wiki.apache.org/httpd/BypassAuthenticationOrAuthorizationRequirements

我的configuration如下所示:

<Location "/auth-test"> AuthType Basic AuthName "Auth-Test" AuthUserFile /tmp/htpasswd Require valid-user Order allow,deny Allow from 192.168.1.111 Satisfy Any </Location> 

IP 192.168.1.111是我的IP,但服务器仍然要求我input密码。