https://issues.apache.org/bugzilla/show_bug.cgi?id=44738

           Summary: mod_jk-1.2.26 does not work in virtualhost
           Product: Tomcat 6
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=21760)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21760)
This patch handles JkOptions correctly

My site works on Apache 2.0.61 + mod_jk-1.2.23 + Tomcat.
I upgrade my site to Apache 2.0.63 + mod_jk-1.2.26 + Tomcat,
and it does not work.
mod_jk logs following messages:

  [Tue Apr 01 19:21:55.450 2008] [20648:27] [error] jk_handler::mod_jk.c
(2223): Could not init service for worker=customer

An abobe trouble causes by a bug of merge_jk_config(). 
My httpd.conf is like a following:

  JkOptions       +ForwardURIProxy
  <Virtualhost *>
    JkOptions       +ForwardURICompat
  </Virtualhost>

In server settings, "options" variable is JK_OPT_FWDURIPROXY (0x0004).
In virtualhost settings, "options" variable is JK_OPT_FWDURICOMPAT (0x0001).
merge_jk_config() merges both variables to 0x0005
and it causes an error of init_ws_service().


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to