You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@apache.org on 2001/07/20 14:47:44 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config IISConfig.java

larryi      01/07/20 05:47:44

  Modified:    src/share/org/apache/tomcat/modules/config IISConfig.java
  Log:
  Modified to have all requests for a context sent to Tomcat.  This is consistent
  with the Apache connector and insures behavior specified in the web.xml
  functions correctly for the web application.
  
  Need to update this interceptor to support similar options as ApacheConfig
  
  Revision  Changes    Path
  1.4       +6 -3      jakarta-tomcat/src/share/org/apache/tomcat/modules/config/IISConfig.java
  
  Index: IISConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/IISConfig.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- IISConfig.java	2001/03/02 04:49:12	1.3
  +++ IISConfig.java	2001/07/20 12:47:44	1.4
  @@ -154,10 +154,13 @@
                       uri_worker.println();            
   
                       uri_worker.println("#");		    
  -                    uri_worker.println("# If you want tomcat to serve all the resources (including static) that");
  -                    uri_worker.println("# are part of the " + path + " context, uncomment the following line");
  +                    uri_worker.println("# The following line specifies that tomcat should serve all the resources");
  +                    uri_worker.println("# (including static) that are port of the " + path + " context.  This insures");
  +                    uri_worker.println("# that behavior specified in the web.xml functions correctly.  If you want");
  +                    uri_worker.println("# IIS to serve static resources, comment out this line and replace with");
  +                    uri_worker.println("# appropriate mappings.  Then update the IIS configuration as needed.");
                       uri_worker.println("#");                        
  -		            uri_worker.println("# " + path +"/*=$(default.worker)");
  +                    uri_worker.println(path +"/*=$(default.worker)");
   
                       uri_worker.println("#######################################################");		    
                       uri_worker.println("# Auto configuration for the " + path + " context ends.");