tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patri...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF web.xml
Date Thu, 08 Nov 2001 21:38:30 GMT
patrickl    01/11/08 13:38:30

  Modified:    webapps/admin/WEB-INF web.xml
  Log:
  Limit security constraint to only content pages and leave static resources (i.e. image files)
unconstrained. This is done so that image static resources are not subject to the automatic
"no-cache" policy that is now applied to all protected resources.
  
  Revision  Changes    Path
  1.3       +3 -1      jakarta-tomcat-4.0/webapps/admin/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/web.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- web.xml	2001/11/06 20:40:13	1.2
  +++ web.xml	2001/11/08 21:38:30	1.3
  @@ -80,7 +80,9 @@
       <web-resource-collection>
         <web-resource-name>Protected Area</web-resource-name>
         <!-- Define the context-relative URL(s) to be protected -->
  -      <url-pattern>/*</url-pattern>
  +      <url-pattern>*.jsp</url-pattern>
  +      <url-pattern>*.do</url-pattern>
  +      <url-pattern>*.html</url-pattern>
       </web-resource-collection>
       <auth-constraint>
         <!-- Anyone with one of the listed roles may access this area -->
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message