comparison content/SCM/sventon-changeset-links.md @ 98:1d9382b0329b

Specify the syntax on markdown blocks to avoid broken output that has class=err
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 19 Dec 2019 10:04:33 +0100
parents 4cd9b65e10e4
children
comparison
equal deleted inserted replaced
97:e99db3bc53c1 98:1d9382b0329b
15 15
16 We send out confirmation mails con commit including the sventon URL to the changeset. So we need the old URLs to work on the new sventon. Luckily, we host everything on an apache web server, mod_rewrite to the rescue! 16 We send out confirmation mails con commit including the sventon URL to the changeset. So we need the old URLs to work on the new sventon. Luckily, we host everything on an apache web server, mod_rewrite to the rescue!
17 17
18 The following rewrite config rewrites the old format to the new one and forwards it to sventon: 18 The following rewrite config rewrites the old format to the new one and forwards it to sventon:
19 19
20 :::shell
20 RewriteCond %{QUERY_STRING} name=(.*)&revision=([0-9]+) 21 RewriteCond %{QUERY_STRING} name=(.*)&revision=([0-9]+)
21 RewriteRule /sventon/revinfo.svn http://sventon.local/sventon/repos/%1/info?revision=%2 [L] 22 RewriteRule /sventon/revinfo.svn http://sventon.local/sventon/repos/%1/info?revision=%2 [L]