Restricting access with .htaccess; first IP then auth
Hi all,
I wish to restrict access to a part of my website using htaccess. So far
I managed to restrict either by IP or by user. Is it possible to use
them in this order
1. restrict by IP, if allowed then display page, if denied then ..
2. validate username and password (.htpasswd)
not sure if this is possible at all, and how to put this in the
..htaccess file.
TIA
|