Hi JC
Maybe I'm misreading it, but to me it looks like XYMONWEBHOST is only used if HTTP_HOST is not available, and in John's case, HTTP_HOST is available...
lib/cgi.c:305 httphost = getenv("HTTP_HOST"); if (!httphost) { if (strcmp(xgetenv("XYMONWEBHOST"), "http://localhost") != 0) {
Cheers
Zak
-----Original Message----- From: Xymon <xymon-bounces at xymon.com> On Behalf Of Japheth Cleaver Sent: Thursday, 12 September 2019 23:48 To: Rothlisberger, John R. <john.r.rothlisberger at accenture.com>; rene at vermare.net Cc: xymon at xymon.com Subject: Re: [Xymon] [External] Re: can I put enadis into debug mode?
This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.
On 9/12/2019 3:45 PM, Japheth Cleaver wrote:
HTTP_HOST is actually going to be set by the client. However the check
can be overridden by setting $XYMONSERVERWWWNAME (technically
$XYMONWEBHOST is what's used) in xymonserver.cfg to what you're
expecting the client to be using.
To clarify, HTTP_HOST is part of the CGI spec based on the incoming request.
-jc
Xymon mailing list
Xymon at xymon.com
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_...
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.
www.accenture.com