indexer.conf
AliasProg {command line}
AliasProg is an external program that takes a URL and returns the appropriate alias to stdout. Use $1 to pass a URL. This command has a global effect for the whole configuration file.
AliasProg "echo $1 | /usr/local/mysql/bin/replace http://localhost/ file:///home/httpd/"
Alias, ReverseAlias.