Friday, June 17, 2011

conditional authentication in apache

Just so I can find it later..


AuthType basic
AuthName "Sub Domain authentication"
AuthUserFile /var/www/virtual/.passwd
Require valid-user

Satisfy any
Order deny,allow
Deny from all
Allow from 192.168.100.0/24

No comments: