On Mon, 27 Nov 2023 at 15:32, sebb <seb...@gmail.com> wrote:
>
> On Mon, 27 Nov 2023 at 11:41, sebb <seb...@gmail.com> wrote:
> >
> > I think the pages should be
> >
> > https://commons.apache.org/proper/commons-geometry/download_geometry.cgi
> >
> > etc.
> >
> > Looks like a missing redirect; will have a look later.
>
> There are redirects from https://commons.apache.org/COMPONENT/* to
> https://commons.apache.org/proper/commons-COMPONENT/*
>
> However, these do not work for *.cgi; there is some special processing
> in the HTTPD server that handles the TLP sites such as commons.a.o.
>
> It looks like it is not possible to use htaccess redirects to fix
> this; the TLP processing seems to happen first.

The TLP CGI processing expects to find an HTML file in the same
directory as the CGI (before redirect);
if not it provides its own HTML file.

This means that it will work if there is a file at the expected location.
I just tried this by adding a soft link directly to the production site:

math/download_math.html -> ../proper/commons-math/download_math.html

This seems to work.

However, when the main site is next updated, this will likely disappear.

In the long-term, I think the components should use the standard URL.
But as a work-round, such links could be added to the parent site.
I'll try to look at that later today.

> Is this a new issue, or has this been happening for a while?
>
> Note that the overview Releases page works fine:
> https://commons.apache.org/downloads/index.html
> as do many components, e.g.:
> https://commons.apache.org/proper/commons-lang/
>
> Sebb
> >
> > On Mon, 27 Nov 2023 at 02:55, Gilles Sadowski <gillese...@gmail.com> wrote:
> > >
> > > Hello.
> > >
> > > For
> > >   https://commons.apache.org/geometry/download_geometry.cgi
> > >   https://commons.apache.org/math/download_math.cgi
> > >   https://commons.apache.org/numbers/download_numbers.cgi
> > >   https://commons.apache.org/statistics/download_statistics.cgi
> > >   https://commons.apache.org/rng/download_rng.cgi
> > > much of the usual contents (namely links to "zip" and "tar" files) is 
> > > missing.
> > > Page also does not correctly display the menus. logo, ...
> > >
> > > Gilles
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > > For additional commands, e-mail: dev-h...@commons.apache.org
> > >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to