]
Jean-Frederic Clere commented on MODCLUSTER-122:
------------------------------------------------
Fix on the web site.
The sentence in the Advertise description was already telling it can't work:
"Of course at least one mod_advertise must be in the VirtualHost to allow mod_cluster
to find the right IP and port to give to the ClusterListener."
A named-based doesn't have IP...
Advertise does not work on name-based virtual hosts
---------------------------------------------------
Key: MODCLUSTER-122
URL:
https://jira.jboss.org/jira/browse/MODCLUSTER-122
Project: mod_cluster
Issue Type: Bug
Affects Versions: 1.0.2.GA
Environment: RHEL 5.4
Reporter: Radoslav Husar
Assignee: Jean-Frederic Clere
Fix For: 1.0.3.GA
If you use Apache httpd name-based virtual hosts on the server with multiple IPs (without
explicit configuration parameter ServerAdvertise On
http://hostname:port), advertise does
not work and sends 0.0.0.0 IP address to the back-end. This is problem when you have
back-end server on the physically another machine.
Module should use ServerName from the VirtualHost configuration value in this case (or
this case should be documented).
Refer to official Apache 2.2 documentation for more information on Name-based Virtual
Host Support
http://httpd.apache.org/docs/2.2/vhosts/name-based.html
Snip from mod_cluster docs:
> ServerAdvertise On
http://hostname:port: Tell the hostname and port to use. Only
needed if the VirtualHost is not
> defined correctly or when VirtualHost is not used.
Sample configuration:
<VirtualHost *:8888>
ServerName perf10
...
</VirtualHost>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: