httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32474] - Apache HTTP Server encounter problem and needs to close
Date Fri, 03 Dec 2004 05:31:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32474>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32474





------- Additional Comments From alexw@toll.com.au  2004-12-03 06:31 -------
I have encountered this problem too - I am not sure whether this is related to 
bug 12340 as I am not using Win XP or mod_proxy.

My environment is
 - Microsoft Windows 2000 [Version 5.00.2195]
 - Apache 2.0.52 with mod_jk2 2.04
 - Tomcat 4.1.31

We want to split 2 web applications running on 1 Standalone Tomcat instance 
into separate Tomcat instances (ports) on the same machine. Apache will allow 
us to move these applications without changing URLS.
ie.
 - http://host/app1 -> Tomcat1: /app1
 - http://host/app2 -> Tomcat2: /app2
The complication is that we will now have 2 Tomcat Managers that we want to 
access via the Apache frontend.
The idea was to use a mod_rewrite within a location tag to achieve:
 - http://host/manager1/html -> Tomcat1: /manager
 - http://host/manager2/html -> Tomcat2: /manager

Our httpd.conf looks like:

  <Location "/app1">
    JkUriSet worker lb:lb_tomcat1
  </Location>
  <Location "/app2">
    JkUriSet worker lb:lb_tomcat2
  </Location>
  <Location "/manager1">
    RewriteEngine on
    RewriteRule ^/manager1/(.*)$ /manager/$1
    JkUriSet worker lb:lb_tomcat1
  </Location>
  <Location "/manager2">
    RewriteEngine on
    RewriteRule ^/manager2/(.*)$ /manager/$1
    JkUriSet worker lb:lb_tomcat2
  </Location>

On Apache 2.0.52 we get the following error:
  Parent: child process exited with status 1073807364 -- Restarting.
On Apache 2.0.48 we got the error:
  Parent: child process exited with status 3221225477 -- Restarting.

The app1 and app2 redirects work fine. If we move the RewriteEngine/RewriteRule 
outside of the Location tag then it correctly rewrites the URL (but goes to the 
file system instead of the JK2 interface).

Our workaround is simply to rename the managers on each tomcat instance (and 
disable the mod_rewrite package).

However, I thought I would provide this info in case it assists you in fixing 
this bug.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message