keith       2004/06/07 15:15:32

  Modified:    jk/native2/server/isapi install4iis.js
  Log:
  Actually filter can be on service or server, so move it back to server.

  However, we may have to create our own Filters container as IIS

  only creates one automatically for the service.
  
  Revision  Changes    Path
  1.5       +3 -4      jakarta-tomcat-connectors/jk/native2/server/isapi/install4iis.js
  
  Index: install4iis.js
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/native2/server/isapi/install4iis.js,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- install4iis.js    7 Jun 2004 21:08:26 -0000       1.4
  +++ install4iis.js    7 Jun 2004 22:15:32 -0000       1.5
  @@ -255,9 +255,8 @@
       try {

           filters = findADSIObject(webServer, _IIS_FILTERS, "Filters");

           if (filters == null) {

  -            TRACE("Unable to find the " + _IIS_FILTERS + " for " +

  -                  webServer.ServerComment);

  -            return null;

  +            //may have to create the website-level filters container

  +            filters = webserver.create(_IIS_FILTERS, "Filters");

           }

           newFilter = findADSIObject(filters, _IIS_FILTER, appParams.FilterName);

           if (newFilter == null) {

  @@ -488,7 +487,7 @@
           ERROR(args, "Unable to create virual directory /" + params.WebName);        

       }

   

  -    if (!createISAPIFilter(IIsWebService, params)) {

  +    if (!createISAPIFilter(IIsWebServer, params)) {

           /* TODO: roll-back virtual dir */

           ERROR(args, "Unable to create the '" + params.FilterName + "' filter.");    
    

       }

  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to