Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

was5 IBMhttpserver

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes... you should. you must have an entry like *:80 in your virtual host settings on WebSphere.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic