You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2010/07/16 11:09:45 UTC
svn commit: r964722 - in /tomcat/trunk/webapps: docs/changelog.xml
host-manager/WEB-INF/web.xml host-manager/index.jsp manager/WEB-INF/web.xml
manager/index.jsp
Author: markt
Date: Fri Jul 16 09:09:44 2010
New Revision: 964722
URL: http://svn.apache.org/viewvc?rev=964722&view=rev
Log:
As suggested on the users list, add redirects to the HTML interface to the root of the host-manager and manager applications
Added:
tomcat/trunk/webapps/host-manager/index.jsp (with props)
tomcat/trunk/webapps/manager/index.jsp (with props)
Modified:
tomcat/trunk/webapps/docs/changelog.xml
tomcat/trunk/webapps/host-manager/WEB-INF/web.xml
tomcat/trunk/webapps/manager/WEB-INF/web.xml
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=964722&r1=964721&r2=964722&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Jul 16 09:09:44 2010
@@ -254,6 +254,11 @@
<bug>49570</bug>: When using the example compression filter, set the
Vary header on compressed responses. (markt)
</fix>
+ <add>
+ Add redirects for the root of the manager and host-manager web
+ applications that redirect users to the html interface rather than
+ returning a 404. (markt)
+ </add>
</changelog>
</subsection>
<subsection name="Other">
Modified: tomcat/trunk/webapps/host-manager/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/host-manager/WEB-INF/web.xml?rev=964722&r1=964721&r2=964722&view=diff
==============================================================================
--- tomcat/trunk/webapps/host-manager/WEB-INF/web.xml (original)
+++ tomcat/trunk/webapps/host-manager/WEB-INF/web.xml Fri Jul 16 09:09:44 2010
@@ -51,7 +51,7 @@
<filter-class>org.apache.catalina.filters.CsrfPreventionFilter</filter-class>
<init-param>
<param-name>entryPoints</param-name>
- <param-value>/html,/html/,/html/list</param-value>
+ <param-value>/html,/html/,/html/list,/index.jsp</param-value>
</init-param>
</filter>
Added: tomcat/trunk/webapps/host-manager/index.jsp
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/host-manager/index.jsp?rev=964722&view=auto
==============================================================================
--- tomcat/trunk/webapps/host-manager/index.jsp (added)
+++ tomcat/trunk/webapps/host-manager/index.jsp Fri Jul 16 09:09:44 2010
@@ -0,0 +1,18 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--%>
+<% response.sendRedirect(response.encodeRedirectURL(request.getContextPath() +
+ "/html")); %>
\ No newline at end of file
Propchange: tomcat/trunk/webapps/host-manager/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: tomcat/trunk/webapps/manager/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/WEB-INF/web.xml?rev=964722&r1=964721&r2=964722&view=diff
==============================================================================
--- tomcat/trunk/webapps/manager/WEB-INF/web.xml (original)
+++ tomcat/trunk/webapps/manager/WEB-INF/web.xml Fri Jul 16 09:09:44 2010
@@ -88,7 +88,7 @@
<filter-class>org.apache.catalina.filters.CsrfPreventionFilter</filter-class>
<init-param>
<param-name>entryPoints</param-name>
- <param-value>/html,/html/,/html/list</param-value>
+ <param-value>/html,/html/,/html/list,/index.jsp</param-value>
</init-param>
</filter>
Added: tomcat/trunk/webapps/manager/index.jsp
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/index.jsp?rev=964722&view=auto
==============================================================================
--- tomcat/trunk/webapps/manager/index.jsp (added)
+++ tomcat/trunk/webapps/manager/index.jsp Fri Jul 16 09:09:44 2010
@@ -0,0 +1,18 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--%>
+<% response.sendRedirect(response.encodeRedirectURL(request.getContextPath() +
+ "/html")); %>
\ No newline at end of file
Propchange: tomcat/trunk/webapps/manager/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org