On Fri, Jun 7, 2024 at 8:52 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> Konstantin,
>
> On 6/6/24 11:26, Konstantin Kolinko wrote:
> > чт, 6 июн. 2024 г. в 17:44, Christopher Schultz <
> ch...@christopherschultz.net>:
> >>
> >> All,
> >>
> >> I'd like to change the existing webapps/ROOT/index.jsp to index.html and
> >> remove the dynamic elements. Currently, the only truly dynamic element
> >> in the whole file is this:
> >>
> >> "
> >> <p class="copyright">Copyright &copy;1999-${year} Apache Software
> >> Foundation.  All Rights Reserved</p>
> >> "
> >>
> >> I don't see any particular reason that the Copyright information must
> >> always show the "current year". We can simply set this to "the current
> >> year" during the release process.
> >>
> >> This will mean that the default application will be completely static.
> >> Not much of an upgrade, *but* if a user would prefer to completely
> >> remove Jasper, it means that the default home page will be readable.
> >
> > Hi, Chris!
>
> +1 !
>
> We missed you this week.
>
> > Being involved in moderation of one of our mailing lists, I suspect that
> > some amount of spam is caused by our default web page,
> > when it is de-facto used as the front page of a third-party web site.
> >
> > That is, ASF is wrongly interpreted as an owner of that web site.
> >
> > My thoughts were:
> > a) Replace it with a simple static page that just says "It works" or
> similar.
> > b) Make content dynamic, so that the current content is shown to
> > localhost clients only,
> > and show the "simple" page for anyone else.
> >
> > An example of "a)" is Apache HTTPD:
> >
> >
> https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/docroot/index.html?revision=1200966&view=markup
> > https://svn.apache.org/viewvc?view=revision&revision=105393
> > Oct 2004 (19 years, 8 months ago)
> >
> > My preference is for "a)".
> >
> > Maybe move the old shiny "root" page to the examples web application.
>
> This is a reasonable idea.
>
> I always thought that httpd's "It works!" page was crappy. I like the
> Tomcat one better. But I'd like to disable everything in the ROOT web
> application if possible.
>

I can get on board with that. My first thought after reading Konstantin's
suggestion was that we should move the ROOT webapp to another context
(maybe something like Quickstart?) and then have the ROOT context be
"Congratulations, it works!" or some variant. Maybe adding a link to the
new location for the full splash page would make sense also?


>
> Having different behavior for local versus remote visits is an
> interesting idea. I wouldn't want to implement something like that
> without more support from other committers.
>

Whether or not I could +1 this depends on the complexity of implementation
and maintenance, and also would need some feedback from users because IMO I
could see confusion arising from differing behavior pretty quickly from
admins that aren't familiar with tomcat unless we make what's happening
obvious directly on the page.

Reply via email to