Infra_engineer
Infra_engineer

Reputation: 1

IBM Http server and Tomcat

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

Answers (1)

Marcin P
Marcin P

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...

https://www.ibm.com/support/knowledgecenter/en/SSSH27_8.0.0/com.ibm.rational.clearcase.cc_ms_install.doc/topics/was_install/t_config_web_plugin_ihs8.htm#t_config_web_plugin_ihs8

Upvotes: 0

Related Questions