[Tfug] htaccess restrict by IP and Password
Bruce R Nevins
bnevins at nexiliscom.com
Sat Jul 3 12:12:34 MST 2004
Sam,
Here is what I use to do what you want.
Bruce
<Directory /web/test/htdocs/special>
AuthName test
AuthType Basic
AuthUserFile /web/test/cgi-bin/passwd
AuthGroupFile /web/test/cgi-bin/group
ExpiresActive On
ExpiresDefault A5
<Limit GET POST PUT DELETE>
deny from all
require group administrators
allow from .test.com
allow from 10.0.0.
Satisfy any
</Limit>
Options +Includes
</Directory>
--
------------------------------------------------------------------------
Bruce R. Nevins, bnevins at nexiliscom.com
Vice President, Nexilis Communications Corp.
2527 E. 3rd St., Tucson, AZ, 85716-4114
+1-520-795-6000, +1-520-795-0158 (Fax)
www.nexiliscom.com <http://www.nexiliscom.com/>
More information about the tfug
mailing list