# this file should be placed in the same directory
# as MOBY-Admin.pl
# You will have to add the following line 
#	AllowOverride AuthConfig
# to httpd.conf where the cgi directory is specified, i.e.
# <Directory "/usr/local/apache2/cgi-bin">
#    Options Indexes
#    # AllowOverride None # <- old value
#	AllowOverride AuthConfig # <- new value
#    Order allow,deny
#    Allow from all
#
#    <Files *.html>
#        SetHandler type-map
#    </Files>
#
#    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1
#    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
# </Directory>

AuthName "MOBY Central Admin"
AuthType Basic

# path to the config file
AuthUserFile c:/apache2/Apache2/users

# protect the Moby Central Admin dispatcher by a password
<Files "MOBY-Admin.pl">
 # require a valid-user (specified in users)
  Require valid-user
</Files>


# Creating the user and password
# do a 
#	htpasswd -c /path/that/exists/users fred
# The -c specifies to create a *new* password file &
# to place that file at /path/that/exists/
# fred would be the username
# You will be prompted for a password.
