Dmitry,

It looks like the code the developers added was different from your original
code.

Here's your code:

uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,NULL,r->uri);
 
"NULL" should be replaced to "r->server->server_hostname" (without the
quotes of course)


and here's their code:

  -    uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,NULL,r->uri
);
  +    uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,
  +                r->server->is_virtual ? r->server->server_hostname :
NULL,
  +                r->uri );
   
Looks like they added a check for a virtual host before executing your code.
Have you had a chance to test this?


-----Original Message-----
From: Dmitry Letin [mailto:[EMAIL PROTECTED]]
Sent: September 21, 2002 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk2, virtual hosts, JkUriSet


Developers have already added this fix:
 
http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/msg33556.html
 
That was really fast.
 
Dmitry

        ----- Original Message -----
        From: Robert L Sowders [mailto:[EMAIL PROTECTED]] 
        Sent: Сб 21/09/2002 2:16 
        To: Tomcat Users List 
        CC: Dmitry Letin 
        Subject: Re: mod_jk2, virtual hosts, JkUriSet
        
        

        Hello,
        
        I'm glad you got it working.  Have you posted a bug at
        http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/ I'm
sure the
        developers of JK2 would be interested in your patch?
        
        You might have already, their web site has not been updating for
awhile
        now.
        
        rls
        


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

Reply via email to