Re: How to make Jira issues appear at URLs like PROJECT.apache.org/issue/NUMBER

2019-02-13 Thread Julian Foad
Rich Bowen wrote: > I suspect that you could do this with a combination of: > > * mod_rewrite RewriteRule [P] (proxy) rules [...] > * mod_substitute, or mod_proxy_html rules to munge the content [...] I did spend some time playing around with that sort of magic and managed to get some parts of J

Re: How to make Jira issues appear at URLs like PROJECT.apache.org/issue/NUMBER

2019-02-13 Thread Rich Bowen
There's two possible approaches that come to mind I suspect that you could do this with a combination of: * mod_rewrite RewriteRule [P] (proxy) rules RewriteRule ^/issue[^A-Za-z0-9]?(\d+)$ https://issues.apache.org/jira/browse/SVN-$1 [P,L] ProxyPassReverse /issue https://issues.apache.org/ji

How to make Jira issues appear at URLs like PROJECT.apache.org/issue/NUMBER

2019-02-13 Thread Julian Foad
In Apache Subversion's .htaccess we have this RedirectMatch rule: RedirectMatch ^/issue[^A-Za-z0-9]?(\d+)$ https://issues.apache.org/jira/browse/SVN-$1 It redirects a URL like https://subversion.apache.org/issue/4567 to https://issues.apache.org/jira/browse/SVN-4567 Why? Human-friendly, tec