hello my server is running and listening on the port 9081 for app1 and on port 9082 for app2 But my ibmhttpserver is listening on port 80. How to know if request made to myhost:9081/app1 are caught by the httpserver and redirected to the appserver (both http and app server are on the same machine). How to configure http.conf to redirect to two port for two apps?
Nagendra Prasad
Ranch Hand
Joined: Jul 11, 2002
Posts: 219
posted
0
I hope i have understood ot right... a. Websphere App1 - 9080 App2 - 9082 b. IBM HTTP Server httpd daemon - port 80 If u are accessing the app as myApp:9080, u are not hitting the IBMHTTPServer.. u are going direct to the app server. To do this via ur http server, u need to set up the virtual host/app context configuration properly in websphere and regenerate the plugin-cfg.xml file. if the IBM HTTP Server is on the same physical machine, that is all that is required. If it is on a diff. machine, copy this file to the /usr/WebSphere/Appserver/Config directory (or similar) on the machine hosting the HTTP Server.
Best Regards,<br />Nagendra Prasad.
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
yes that's it, thanks a lot. So I must configure my virtual_host (in websphere) to listen on port 80?
Nagendra Prasad
Ranch Hand
Joined: Jul 11, 2002
Posts: 219
posted
0
yes... you should. you must have an entry like *:80 in your virtual host settings on WebSphere.