Reputation: 1
HI I am configuring IBM HTTP Server as a front end of a tomcat application listening to port 9001. The webserver and the appserver (tomcat) are on different machines. Machine A as IHS Installed. my question is where do I tell to machine A (IHS) to send the requests to Machine B (Tomcat on 9001 port). In httpd.conf what exactly to add so that all requests hitting the webserver should reach machine B the tomcat server. both are linux machines.
Upvotes: 0
Views: 1750
Reputation: 430
IHS 8.0 and 8.5 are both built on core Apache version 2.2.8. IHS 9.0 is Apacje 2.4 so configs might be a bit different.
Look into Apache docs how to enable mod_proxy and write preverse proxy stanza like
ProxyPass "/foo" "http://foo.example.com/bar" ProxyPassReverse "/foo" "http://foo.example.com/bar"
Docs: https://httpd.apache.org/docs/2.4/mod/mod_proxy.html
Alternatively hack plugins-config.xml although this might be overwritten by Websphere... see...
Upvotes: 0