From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by bl2.djc.id.au (Postfix, from userid 1000) id 8DB4327D14C; Sat, 03 Oct 2026 19:32:26 +1000 (AEST) Date: Sat, 03 Oct 2026 19:32:28 +1000 To: sup-commits@supmua.dev Subject: [sup-website.git] 02/04: add redirect from /git/$repo to /git/$repo/log.html MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Dan Callaghan In-Reply-To: <179101994620.238585.16699555886884033249@bl2.djc.id.au> References: <179101994620.238585.16699555886884033249@bl2.djc.id.au> Thread-Index: AQAAEjRW78hoHMkRTbGmHB5gW6W6kg== X-Git-Host: bl2.djc.id.au X-Git-Repo: sup-website.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 9d6a8ca58253f3a512712ccf2c0d0e36b0005da4 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.7.dev Auto-Submitted: auto-generated Message-Id: <20261003093226.8DB4327D14C@bl2.djc.id.au> From: Dan Callaghan List-Id: New commit on branch master: https://supmua.dev/git/sup-website/commit/9d6a8ca58253f3a512712ccf2c0d0e36b0005da4.html commit 9d6a8ca58253f3a512712ccf2c0d0e36b0005da4 Author: Dan Callaghan AuthorDate: Sat Oct 3 19:04:22 2026 +1000 add redirect from /git/$repo to /git/$repo/log.html Stagit does not emit an index for each repo, so we need the directory to show something reasonable. This RewriteRule was previously living in the Apache server config but I'm moving it here so it can be tracked in git alongside the web site source code. --- git/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/git/.htaccess b/git/.htaccess new file mode 100644 index 0000000..33d6649 --- /dev/null +++ b/git/.htaccess @@ -0,0 +1 @@ +RewriteRule ([^/]+)/$ /git/$1/log.html [R]