IDependOn-Set: 1
IDependOn-Set: 166
IDependOn-Set: 2
IDependOn-Set: 22
IDependOn-Set: 28
IDependOn-Set: 7
LastModifiedSecs: 924719641
Parent: 7
SequenceNumber: 10
Title: How do I setup basic authentication with Apache and Apache JServ?
Part: 0
Author-Set: jon@working-dogs.com
LastModifiedSecs: 919452480
Type: monospaced
Lines: 14
You need to use the <Location> tag in Apache instead of the <Directory> tag. 
See the Apache documentation http://www.apache.org/ for more information on 
the use of the Location tag.

Here is an example that worked for one Apache JServ user:

<Location /servlet/msgboard>
  AuthType Basic
  AuthName msgboard_access
  AuthUserFile /usr/local/apache/conf
  <Limit GET POST>
    require user some_user
  </Limit>
</Location>
EndPart: 0
Part: 1
Author-Set: vt@vp.net
LastModifiedSecs: 919872240
Type: 
Lines: 4
You don't always have to use the <Limit ...></Limit> directive. Remember,
it restricts access to the _selected methods_ (and forgets about HEAD and
OPTIONS, at least as for Apache 1.3.3, while the Auth* just simply
restrict the access.
EndPart: 1
Part: 2
Author-Set: bknights@earthlink.net
LastModifiedSecs: 920952780
Type: 
Lines: 1
For those new to all this, on Linux (and other Unices?) you can create the password file using /usr/bin/htpasswd.
EndPart: 2
