[olug] get web server host name
Dan Linder
dan at linder.org
Fri Apr 11 14:11:14 UTC 2008
On Fri, Apr 11, 2008 at 5:44 AM, Dave Weis <djweis at internetsolver.com>
wrote:
> We do something similar for load balancers and just use an apache
> directive to put the server's hostname into the headers.
>
In a past life (Hi CoSentry/IPRevolution guys!) I had to prove to a customer
that our load balancer was working. What we did was make a call to "
http://wwwXX.domain.com/serverimage.gif", and then put a unique color or
image on each server. It's not a nice as having easily parsable output
(i.e. "<!-- server A -->") in the HTML code, but it sure made it evident
what back-end server served the page/image.
Dan
--
"Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the
Satires of Juvenal
"I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author)
** *** ***** ******* *********** *************
More information about the OLUG
mailing list