Does mod_cluster and Named Virtual Hosts work?
I've assumed that mod_cluster works by "magic" :-)
On the back-end I have
# Comma-separated list of address:port for mod_cluster front-end proxies
(Note - I didn't put a port the end of the fron-end-ip)
On the front end, I've turned NamedVirtualHosts on, and have /etc/httpd/conf.d/v_vhost_name.conf
CustomLog logs/<vhost_name>.access_log common
I know that the front-end is using this virtual host because of the logs, and on the back end I know I've got virtual hosts working in JBoss 5.0.1 on the back end (checked using telnet).
But - proxying isn't working. 404s from the front end for everything (except an empty FancyIndex for /). I take it mod_cluster doesn't work automagically and I've missed something?
What do you want to do?
And in one jboss have have something like:
<Host name="v_host_name1" ..
<Host name="v_host_name2" ..
Or do you want to run 2 clusters?