AuthBasic

Name

AuthBasic -- defines user name and password for basic HTTP authorization

indexer.conf

Synopsis

AuthBasic {user:password}

Description

This command defines user name and password for basic HTTP authorization to index password-protected sites or site directories.

Scope

AuthBasic is to be set before a Server command and has effect only on the next Server command. If you have two or more HTTP servers (or server directories) with the same user name and password, you need to specify a separate AuthBasic command before every Server command.

Examples


# If you have password-protected directories, but the rest of the server is open, use:

AuthBasic login1:passwd1
Server http://my.server.com/my/secure/directory1/

AuthBasic login2:passwd2
Server http://my.server.com/my/secure/directory2/

Server http://my.server.com/
      

See also

Proxy.