Documentation ¶
Overview ¶
idx2rwmap converts an auxserver index into a file that can be used as an Apache RewriteMap. The resulting file contains all possible URLs under which manpages can be reached. For a 30MB auxserver index, the resulting rwmap is 1.6GB.
The -concurrency option determines how many shards are created in -output_dir. To sort and combine the individual shards, use:
LC_ALL=C sort output.* > /srv/man/rwmap.txt
Usually, the resulting file is then converted to DBM so that Apache can quickly look up keys:
httxt2dbm -i /srv/man/rwmap.txt -o /srv/man/rwmap.dbm
Click to show internal directories.
Click to hide internal directories.