indexer.conf
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 4.
HTDBList affects all following Server commands, until the end of the configuration file, or until the next HTDBList command.
HTDBList "SELECT id FROM messages" HTDBDoc "SELECT title, body FROM messages WHERE id='$2'" Server htdb:/messages/
HTDBAddr, HTDBDoc, HTDBLimit, UserCacheQuery.