Re: [Website] .htaccess Rewrite rules not working?

2021-10-29 Thread Zoran Regvart
Hi Cameleers, ... and the redirects don't seem to work for camel-k, I'll have a fix shortly, for some reason I did not include camel-k in the tests... zoran On Fri, Oct 29, 2021 at 5:14 PM Zoran Regvart wrote: > > Hi Cameleers, > happy to say that the tests from the PR below pass on the live sit

Re: [Website] .htaccess Rewrite rules not working?

2021-10-29 Thread Zoran Regvart
Hi Cameleers, happy to say that the tests from the PR below pass on the live site... zoran On Fri, Oct 29, 2021 at 3:39 PM Zoran Regvart wrote: > > Hi Cameleers, > I've created a PR that I think will solve the issues outlined in this thread: > > https://github.com/apache/camel-website/pull/659 >

Re: [Website] .htaccess Rewrite rules not working?

2021-10-29 Thread Zoran Regvart
Hi David, On Fri, Oct 29, 2021 at 4:24 PM David Jencks wrote: > > Well, I agree and am considering how to make that happen. This redirects the > previous `latest` links to the same pages which are now at `next` so at least > we don’t have broken links (someone pointed one out on Zulip just now

Re: [Website] .htaccess Rewrite rules not working?

2021-10-29 Thread Zoran Regvart
Hi Antonin, On Fri, Oct 29, 2021 at 4:10 PM Antonin Stefanutti wrote: > Naively / intuitively, I would assume 'latest' points to the latest released > version, while 'next' points to what is going to be the next version released. > > If I understand it correctly, 'latest' is redirected to 'next'

Re: [Website] .htaccess Rewrite rules not working?

2021-10-29 Thread David Jencks
Well, I agree and am considering how to make that happen. This redirects the previous `latest` links to the same pages which are now at `next` so at least we don’t have broken links (someone pointed one out on Zulip just now). Currently the latest released main camel version is 3.12.x. Taking

Re: [Website] .htaccess Rewrite rules not working?

2021-10-29 Thread Antonin Stefanutti
Naively / intuitively, I would assume 'latest' points to the latest released version, while 'next' points to what is going to be the next version released. If I understand it correctly, 'latest' is redirected to 'next'. That being said, I appreciate it may be more complex to implement, if that

Re: [Website] .htaccess Rewrite rules not working?

2021-10-29 Thread Zoran Regvart
Hi Cameleers, I've created a PR that I think will solve the issues outlined in this thread: https://github.com/apache/camel-website/pull/659 Please have a look, there is a test script there I'd be happy to hear if I missed a test case there, so I can add it and make sure the redirects work as exp

Re: [Website] .htaccess Rewrite rules not working?

2021-10-29 Thread Zoran Regvart
Hi David & Claus, note the slash before the dollar sign on those, that means that the URL needs to end with a slash, so: $ curl -v https://camel.apache.org/components/latest gives 404, whereas: $ curl -v https://camel.apache.org/components/latest/ redirects to https://camel.apache.org/component