debiman-idx2rwmap

command
v0.0.0-...-4afba3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL