From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by bl2.djc.id.au (Postfix, from userid 1000) id 197D627E00F; Mon, 05 Oct 2026 17:15:00 +1100 (AEDT) Date: Mon, 05 Oct 2026 17:14:59 +1100 To: sup-commits@supmua.dev Subject: [sup-website.git] branch master updated: fix stagit redirects MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <179118089998.283931.14239622621141443639@bl2.djc.id.au> Reply-To: Dan Callaghan 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-Oldrev: 7fb1906e0e490f92f9c4eba70f6d37267e63ee3c X-Git-Newrev: 1dcdb812b867286dff556fd73b1b0fb8dc36fa35 X-Git-Rev: 1dcdb812b867286dff556fd73b1b0fb8dc36fa35 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.7.dev Auto-Submitted: auto-generated From: Dan Callaghan List-Id: Pushed a commit to branch master: https://supmua.dev/git/sup-website/commit/1dcdb812b867286dff556fd73b1b0fb8dc36fa35.html The following commit(s) were added to refs/heads/master by this push: new 1dcdb81 fix stagit redirects 1dcdb81 is described below commit 1dcdb812b867286dff556fd73b1b0fb8dc36fa35 Author: Dan Callaghan AuthorDate: Mon Oct 5 17:14:35 2026 +1100 fix stagit redirects --- git/.htaccess | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git/.htaccess b/git/.htaccess index 33d6649..f73c346 100644 --- a/git/.htaccess +++ b/git/.htaccess @@ -1 +1,3 @@ -RewriteRule ([^/]+)/$ /git/$1/log.html [R] +RewriteRule ^([^/]+)/$ /git/$1/log.html [R] +RewriteRule ^([^/]+)/commit/?$ /git/$1/log.html [R] +RewriteRule ^([^/]+)/file/?$ /git/$1/files.html [R]