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 ©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.
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.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org