Using HTDBList and the other HTDB related commands is described in details in the Section called Indexing SQL tables (htdb:/ virtual URL scheme) in Chapter 6.
HTDBList affects all following Server commands, until the end of the configuration file, or until the next HTDBList command.