Bug#560020: mod_proxy_balancer: order matters for configuration
Package: apache2.2-common
Version: 2.2.9-10+lenny6
Severity: normal
Hello,
I've just beat my head against this, and finally realized that the issue
is the order in which these directives occur. In this order:
<Proxy balancer://as_cluster>
BalancerMember http://imsthas07:8080 route=tomcat1
BalancerMember http://imsthas08:8080 route=tomcat2
</Proxy>
ProxyPass /foo/ balancer://as_cluster/foo/ stickysession=JSESSIONID
ProxyPass /bar/ balancer://as_cluster/bar/ stickysession=JSESSIONID
The stickysession directive is ignored completely, while in this order:
ProxyPass /foo/ balancer://as_cluster/foo/ stickysession=JSESSIONID
ProxyPass /bar/ balancer://as_cluster/bar/ stickysession=JSESSIONID
<Proxy balancer://as_cluster>
BalancerMember http://imsthas07:8080 route=tomcat1
BalancerMember http://imsthas08:8080 route=tomcat2
</Proxy>
It isn't. This isn't how most of the rest of apache configuration
directives work, so I'm assuming this is a bug. If this is a feature,
can you update the documentation to reflect it?
Cheers,
-- Package-specific info:
List of enabled modules from 'apache2 -M':
alias auth_basic authn_file authz_default authz_groupfile
authz_host authz_user autoindex cgi dir env info mime negotiation
php5 rewrite setenvif status userdir
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apache2 depends on:
ii apache2-mpm-prefork 2.2.9-10+lenny6 Apache HTTP Server - traditional n
apache2 recommends no packages.
apache2 suggests no packages.
Versions of packages apache2.2-common depends on:
ii apache2-utils 2.2.9-10+lenny6 utility programs for webservers
ii libapr1 1.2.12-5+lenny1 The Apache Portable Runtime Librar
ii libaprutil1 1.2.12+dfsg-8+lenny4 The Apache Portable Runtime Utilit
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libmagic1 4.26-1 File type determination library us
ii libssl0.9.8 0.9.8g-15+lenny5 SSL shared libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-22 The NET-3 networking toolkit
ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction
ii procps 1:3.2.7-11 /proc file system utilities
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
-- no debconf information
Reply to: