This is probably way more basic than some of you need, but http://www.math.umn.edu/~garrett/shortest/htaccess.txt (Go up a dir or link from his home page, and there are some other nifty "shortest guides" to $x) On Thu, 3 May 2001, Ben Lutgens wrote: > On Thu, May 03, 2001 at 10:08:21AM -0500, Mark K wrote: > > > >Although this is not necessarily TCLUG specific, I'm sure there are others > >that have similar conf issues. > >Using a Linux box, running RH7.0 / Apache that comes with the install, > >here is what I want to do: > >Set up an access control list that > >* Doesn't prompt for a password when coming from the local network > > (using pre-defined IP blocks, 192.168.*) > >* Does prompt for a password when coming in from the Internet > > (all other, non 192.168.* addresses) > > this is what we use here in .htaccess > > <files ~ "/\.ht"> > order deny,allow > deny from all > </files> > > Options +ExecCGI > > order deny,allow > deny from all > allow from .sistina.com > > AuthName "restricted stuff" > AuthType Basic > AuthUserFile /path/to/users > > require valid-user > > Satisfy any > -----------------SNIP > > and the format of the users file is > > username:cryptpw > > > > >I'm just not sure how to set up an "If-Then" with .htpasswd > >Basically, making an Extranet more friendly from home, then access from on > >the road. Ideas? > > > >Thanks in advance. > >Mark > > > >-- > >________________________________________________________ > >ReadyNET Go!, Inc. - Building your Business on the net > >________________________________________________________ > > > >Mark J. Kroska > >MIS Director > > > >320.656.0765 Voice > >888.447.3239 Toll Free > >320.203.7052 Fax > >http://www.readynetgo.com > >mailto:mkroska at readynetgo.com > >________________________________________________________ > > > > > > > > > >_______________________________________________ > >tclug-list mailing list > >tclug-list at mn-linux.org > >https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -- "To misattribute a quote is unforgivable." --Anonymous