[Xymon] [External] Re: can I put enadis into debug mode?
Beck, Zak
zak.beck at accenture.com
Fri Sep 13 12:55:11 CEST 2019
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_listinfo_xymon&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=1jQAktCJg1hdVChOROme2Tdf3B5SNZoebvwHQ9Gd2To&s=Rsj3hEj1HOOd7vkozOHwP4WnRtpWQ9QHXHRiWcdtjeg&e=
________________________________
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
More information about the Xymon
mailing list