Common Templates

Exclude All but a Privileged Domain

  <Location /private>
    order deny,allow
    deny from all
    allow from .cshl.org
  </Location>

Include All but a Couple of Troublemakers

  <Location /private>
    order allow,deny
    allow from all
    deny from .hackers.org .cz
  </Location>

Privileged Domain, with Some Exceptions

  <Location /private>
    order mutual-failure
    allow from .cshl.org
    deny from badboy.cshl.org
  </Location>

Don't Forget the Dots!

  <Location /private>
    order deny,allow
    deny from all
    allow from cshl.org
  </Location>

This example allows foo.tcshl.org as well as foo.cshl.org.


<< Previous Contents >> Next >>

Lincoln D. Stein, lstein@cshl.org
Cold Spring Harbor Laboratory
Last modified: Sun Jul 16 20:02:49 PDT 2000