mturk       2002/08/15 04:23:04

  Modified:    jk/native2/server/apache2 mod_jk2.c
  Log:
  Remove the reverse flag from uriMap call.
  All the positive/negative mappings is now done inside the uriMap
  function itself.
  
  Revision  Changes    Path
  1.49      +1 -8      jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c
  
  Index: mod_jk2.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- mod_jk2.c 15 Aug 2002 09:27:18 -0000      1.48
  +++ mod_jk2.c 15 Aug 2002 11:23:04 -0000      1.49
  @@ -677,18 +677,11 @@
          If positive, we'll fill a ws_service_t and do the rewrite and
          the real mapping. 
       */
  -    uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,NULL,r->uri, 0 );
  +    uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,NULL,r->uri );
   
       if( uriEnv== NULL || uriEnv->workerName == NULL) {
           workerEnv->globalEnv->releaseEnv( workerEnv->globalEnv, env );
           return DECLINED;
  -    }
  -    else {
  -        jk_uriEnv_t *rriEnv = workerEnv->uriMap->mapUri(env, 
workerEnv->uriMap,NULL,r->uri, 1 );
  -        if (rriEnv != NULL && rriEnv->workerName != NULL) {
  -            workerEnv->globalEnv->releaseEnv(workerEnv->globalEnv, env );
  -            return DECLINED;
  -        }
       }
       ap_set_module_config( r->request_config, &jk2_module, uriEnv );
       r->handler=JK_HANDLER;
  
  
  

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

Reply via email to