Order deny,allow Deny from all Satisfy any Allow from 127.0.0.1 Deny from env=bar foo bar Include /etc/apache2/ipaddr_whitelist.conf