Configuring IBM HTTP Server 2 - Help me URGENT!!!!!

gigi

gigi

VIP Member
Hi guy,
I've a problem with HTTP virtual hos directive.
My configuration is:
2 Windows enterprise server ERP8_SP22Y1 with Windows Cluster (servers names are XXX and YYY, cluster name is ZZZ)
On the same servers XXX and YYY I installed WebSphere 4.0.6 with ERP 8 Web cloning. WebSphere and HTTP Server are not included into the windows cluster. On both server ERP 8 Web listens on port 83. I configured httpd.conf:

First server:
Listen 83
NameVirtualHost XXX:83
<VirtualHost XXX:83>
Alias /jde "C:\WebSphere\AppServer\installedApps\EA_PROD_83.ear\webclient.war"
</VirtualHost>

Second server:
Listen 83
NameVirtualHost YYY:83
<VirtualHost YYY:83>
Alias /jde "C:\WebSphere\AppServer\installedApps\EA_PROD_83.ear\webclient.war"
</VirtualHost>

So if I access ERP 8 web with links:
http://XXX:83/jde/owhtml/index.html or
http://YYY:83/jde/owhtml/index.html
there are no problem.

There are problem when I access web with the name of the cluster, for example http://ZZZ:83/jde/owhtml/index.html . HTTP log says

" [Thu Jul 21 09:34:52 2005] [error] [client 1.50.0.4] File does not exist: C:/Program Files/IBM HTTP Server 2.0/htdocs/en_US/jde, referer: http://ZZZ:81/jde/servlet/com.jdedwards.runtime.virtual.LoginServlet"

Do I must modify httpd.conf file? How? Or have I modify WebSphere Vistual host?

thanks in advance
Gigi
 
Gigi,

Based on your post, you would need to create a virtual host named ZZZ and configure the web servers to listen at that address also. The extract of the httpd.conf that you posted does not reference the cluster name ZZZ at all.

Hope that helps,
Chris
 
thanks chris,
I solved my problem with this configuration

Listen ZZZ:83
NameVirtualHost ZZZ:83
<VirtualHost ZZZ:83>
Alias /jde "C:\WebSphere\AppServer\installedApps\EA_PROD_83.ear\webclient.war"
</VirtualHost>

in both httpd.conf but I had to put "IBM HTTP Server" service in cluster because I started correctly first HTTP server (xxx and zzz on port 83) but when I started the second "HTTP Server" (yyy and zzz on port 83) I received an error that said "port socket in use" when it tried to connect to ZZZ on port 83
So configuring HTTP server service in cluster I have only one Web Server Active
Thanks
Gigi
 
Back
Top