The content type is not in the HTML header, it's in the HTTP header. To check, try this:
telnet localhost 80 HEAD /xymon-cgi/ghostlist.sh HTTP/1.0 <press enter twice>
You'll see the HTTP headers, including "Content-type: nnn/mmm"
Easier if you have curl installed:
curl --head http://localhost/xymon-cgi/ghostlist.sh
J
On 31 March 2013 12:18, Sergey <a_s_y at sama.ru> wrote:
Hello.
I found information about HTMLCONTENTTYPE in xymonserver.cfg, but I can't see content-type definition in html header:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <HTML> <HEAD> <META HTTP-EQUIV="REFRESH" CONTENT="60"> <META HTTP-EQUIV="EXPIRES" CONTENT="Sat, 01 Jan 2001 00:00:00 GMT"> <TITLE>red : Xymon - Status @ Sun Mar 31 04:58:57 2013</TITLE>
What I need to check ?
-- Regards, Sergey
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon