Setup the following tree: revolutions:/var/www# ls -lRA total 12 -rw-r--r-- 1 root wheel 56 Aug 4 18:33 .bzremap drwxr-xr-x 3 root wheel 512 Aug 4 18:33 latest drwxr-xr-x 3 root wheel 512 Aug 4 18:33 pub ./latest: total 4 drwxr-xr-x 3 root wheel 512 Aug 4 18:33 NetBSD-daily ./latest/NetBSD-daily: total 4 drwxr-xr-x 2 root wheel 512 Aug 4 18:34 HEAD ./latest/NetBSD-daily/HEAD: total 0 lrwxr-xr-x 1 root wheel 36 Aug 4 18:34 .bzredirect -> /pub/NetBSD-daily/HEAD/202208040500Z ./pub: total 4 drwxr-xr-x 3 root wheel 512 Aug 4 18:33 NetBSD-daily ./pub/NetBSD-daily: total 4 drwxr-xr-x 3 root wheel 512 Aug 4 18:35 HEAD ./pub/NetBSD-daily/HEAD: total 4 drwxr-xr-x 2 root wheel 512 Aug 4 18:35 202208040500Z lrwxr-xr-x 1 root wheel 13 Aug 4 18:35 latest -> 202208040500Z ./pub/NetBSD-daily/HEAD/202208040500Z: total 4 -rw-r--r-- 1 root wheel 6 Aug 4 18:35 hello.txt The .bzremap file: /pub/NetBSD-daily/HEAD/latest:/latest/NetBSD-daily/HEAD Results in the following: beowulf:~> curl -v http://revolutions.gw.fi/pub/NetBSD-daily/HEAD/latest/hello.txt * Trying 2a09:84c0:600:5d80:55d0::135:80... * Connected to revolutions.gw.fi (2a09:84c0:600:5d80:55d0::135) port 80 (#0) > GET /pub/NetBSD-daily/HEAD/latest/hello.txt HTTP/1.1 > Host: revolutions.gw.fi > User-Agent: curl/7.74.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 301 Document Moved < Date: Thu, 04 Aug 2022 15:36:09 GMT < Server: bozohttpd/20220104 < Accept-Ranges: bytes < Content-Type: text/html < Connection: close < Location: http://revolutions.gw.fi/pub/NetBSD-daily/HEAD/202208040500Z < Document Moved

Document Moved

This document had moved here * Closing connection 0 This is not what we want: we wanted a redirect to the hello.txt file!