-
1. Re: ProxyPreserveHost required?
jfclere Jul 28, 2010 2:22 AM (in response to dbschofield)It could be done in the <Connector/> via the
proxyName (and
proxyPort).
AJP should send the correct hostname and port to JBoss.
-
2. Re: ProxyPreserveHost required?
dbschofield Aug 10, 2010 11:51 AM (in response to jfclere)Jean-Frederic thanks for your response. I have added a little more detail for my particular scenario in regards to your comment and would like your feedback as I am to the point I think a feature request needs to be opened on this.
It could be done in the <Connector/> via the
proxyName (and
proxyPort).
The proxyName and proxyPort should work but then ties my JBoss configuration to the virtual host name of the Apache instance fronting it. This is something I am hoping to avoid in order to keep the JBoss server config portable across different environments where different virtual hosts are used.
AJP should send the correct hostname and port to JBoss.
Honestly I haven't tried AJP. I have requirements to use SSL between Apache and JBoss. The last I checked AJP only forwards the SSL headers and does not negotiate a SSL handshake to encrypt the data over the wire. Please correct me if I am wrong on this.
I'm thinking that ProxyPreserveHost could be either:
- Added to the mod-cluster documentation when HTTP/HTTPS is used between Apache and JBoss.
- Set this property in the mod-cluster apache module so HTTP/HTTPS behave like AJP out of the box.
- Set as an equivalent property in mod-cluster-jboss-beans.xml and have it dynamically updated in Apache.
Thoughts/comments?