Apache authentication requirement based on location

view full story

http://serverfault.com – I am trying to configure my apache server to have the following rule. If the request comes from 192.168.., no authentication is required. But from anywhere else, I want to require them to log in. So far I have the second part configured: Alias /Downloads "D:/Downloads" <Directory "D:/Downloads"> Options All Indexes AllowOverride AuthConfig Allow from all AuthType Basic AuthName "Restricted Files" AuthUserFile D:/Webserver/apache_auth_files/.htpasswd-users Require user myuser_name </Directory> But How do I create a exception in the rule to allow 192.1 (HowTos)