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
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira