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 39962] New: - Connecting to the / redirects to one of the balancing servers and bypass balancer handler
Date Wed, 05 Jul 2006 07:33:07 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=39962>.
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=39962

           Summary: Connecting to the / redirects to one of the balancing
                    servers and bypass balancer handler
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: All
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_proxy_balancer
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ibegtin@yandex.ru


I have configuration with Apache 2.2.2 web server (win32)  and 3 Tomcat 4.1.31
servers
Apache configured with mod_balancer to balance requests between these Tomcat
servers.

Balancer configuration below
---
<Location / >
ProxyPass balancer://app/ stickysession=JSESSIONID 
ProxyPassReverse balancer://app/
</Location>

<Proxy balancer://app/>
  # cluster member 1
  BalancerMember http://192.168.1.110:8080/
  # cluster member 2, the fastest machine so double the load
  BalancerMember http://192.168.1.121:8080/
  # cluster member 3
  BalancerMember http://192.168.1.123:8089/
</Proxy>
---
When I connect to the url 
http://localhost/index.html - Everything works well and this requests is handled
by the balancer, but when I connect to the url http://localhost or
http://localhost/ then I see following messages in log error.log and I am
redirected directly to the url of one of the balanced members,
http://192.168.1.110:8080 for example
---
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_balancer.c(41): proxy: BALANCER:
canonicalising URL //app/
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_balancer.c(198): proxy: BALANCER:
Found value 431BE460A707A293CED6C83763E66083.tomcat1 for stickysession JSESSIONID
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_balancer.c(208): proxy: BALANCER:
Found route tomcat1
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_balancer.c(803): proxy: Entering
byrequests for BALANCER (balancer://app)
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_balancer.c(396): proxy: BALANCER
(balancer://app) worker (http://192.168.1.110:8080/) rewritten to
http://192.168.1.110:8080//
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy.c(756): Running scheme balancer
handler (attempt 0)
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_http.c(1662): proxy: HTTP: serving
URL http://192.168.1.110:8080//
[Tue Jul 04 11:30:59 2006] [debug] proxy_util.c(1798): proxy: HTTP: has acquired
connection for (192.168.1.110)
[Tue Jul 04 11:30:59 2006] [debug] proxy_util.c(1858): proxy: connecting
http://192.168.1.110:8080// to 192.168.1.110:8080
[Tue Jul 04 11:30:59 2006] [debug] proxy_util.c(1951): proxy: connected // to
192.168.1.110:8080
[Tue Jul 04 11:30:59 2006] [debug] proxy_util.c(2045): proxy: HTTP: fam 2 socket
created to connect to 192.168.1.110
[Tue Jul 04 11:30:59 2006] [debug] proxy_util.c(2141): proxy: HTTP: connection
complete to 192.168.1.110:8080 (192.168.1.110)
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_http.c(1448): proxy: start body send
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_http.c(1537): proxy: end body send
[Tue Jul 04 11:30:59 2006] [debug] proxy_util.c(1816): proxy: HTTP: has released
connection for (192.168.1.110)
[Tue Jul 04 11:30:59 2006] [debug] mod_proxy_balancer.c(424):
proxy_balancer_post_request for (balancer://app)
---
Attempts removing trailing slashes were unsuccessfull, without them balancing
just do not work at all.

In same time, balancing via AJP module works well and do not suffer from this
problem.

-- 
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