hgomez      2003/06/18 06:17:18

  Modified:    jk/native/apache-2.0 mod_jk.c
  Log:
  Fix for mod_dir/mod_jk, now the DirectoryIndex directive will be correctly handled 
and forwarded
  
  Revision  Changes    Path
  1.78      +6 -2      jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- mod_jk.c  18 Jun 2003 13:13:16 -0000      1.77
  +++ mod_jk.c  18 Jun 2003 13:17:17 -0000      1.78
  @@ -2271,8 +2271,12 @@
                   apr_table_setn(r->notes, JK_WORKER_ID, worker);
           
                   /* This could be a sub-request, possibly from mod_dir */
  -                if(r->main)
  +                /* Also set the HANDLER and uri for subrequest */ 
  +                if(r->main) {
  +                    r->main->handler=apr_pstrdup(r->pool,JK_HANDLER);
  +                    r->main->uri=apr_pstrdup(r->pool,r->uri);
                       apr_table_setn(r->main->notes, JK_WORKER_ID, worker);
  +                }
   
                   return OK;
               } else if(conf->alias_dir != NULL) {
  
  
  

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

Reply via email to