![]() | :: | Software | :: | shttpd |
redir-data
redir-data creates the cdb-format file data.cdb from information in the file data for use by redir-httpd. It may use other files with names beginning with data. The update to data.cdb occurs atomically.
Each redirection command in data consists of a single line with two '#'-separated fields. The first field is a request path, and the second field is the replacement for that request path. Additional '#' characters may appear in the replacement field.
A request path ending in '/' permits redir-httpd to form a partial match. The corresponding replacement field must also end in '/'. An exact matches is preferred, as is the longest partial match.