[KLUG Members] Wierd Apache/https/cluster oddity.

Adam Bultman members@kalamazoolinux.org
Wed, 28 Apr 2004 11:50:38 -0400


Good morning, everyone.

I have a problem with apache that, while not fatal, is driving me, and 
everyone who uses the sites nuts.

As mentioned a while ago, we use 'webgui' 
(http://www.plainblack.com/webgui) for sites. 

I recently moved a couple of sites from a standalone server setup to a 
clustered environment (two load balancers running ultramonkey connecting 
to two web servers running apache 1.3.29/mod_perl/mod_ssl).


Since I moved these two sites over from the other server to the cluster 
(IP addresses are the same) I get wierd behavior:

You will go to the site in the browser.  Things show up as normally.  
However: occasionally, you'll see that the links on the side don't point 
to www.my.domain.com, but rather, 1.2.3.4/blah - the IP address of the 
site, not the domain name.

Since it is at best sporadic, I can only assume that it is due to the 
clustered environment - one server has issues, the other doesn't - 
except that I'll watch the apache logs and see it happen on the same 
bloody server.

httpd virtualhost entries are identical.   webgui configuration files 
(most pertinent aspect is 'sitename=www.domain.com') are identical.   As 
far as I can tell, httpd.conf files are identical on the original 
server, and the new servers.

Can any of you shed ANY light whatsoever on this?  I can't seem to find 
ANYTHING on it.

Adam