-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You might try adding the directive "order deny, allow" to your config below to make apache deny addresses before it allows them. --Nick On Mon, 18 Jun 2001, meg@cs.csoft.net wrote: > I know I have done something like this before, but > can't remember how: > > I would like to set up all access to my web server > from a given ip to prompt the user for a passwd. > For instance, all ip's in the range 192.168.2.0/24 > should be allowed access EXCEPT one ip 192.168.2.222. > > Could anyone throw me a bone? I have searched thru > apache's docs & faqs, but have not turned up > anything. I suppose the part that has me hung up > is that the ip I want to match is in the same > range that I want to allow. > > I have tried something like > > allow from 192.168.2.0/24 > deny from 192.168.2.222 > AuthType Basic > AuthUserFile /path_to_htpasswd_file > require user user_from_222 > satisfy any > > > > v/r > Mike > ________________________________________________ > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail. > > PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE7LtKXv+hjYTGg7s4RAueKAKCEQTovYrma8M+QB/llDHIvr7zmbQCdHEGs TF4724pnrNbHGQ3mKWGHs3Q= =XH4X -----END PGP SIGNATURE-----