2 Apr
2013
2 Apr
'13
12:45 p.m.
On Tuesday 02 April 2013, Jeremy Laidman wrote:
The content type is not in the HTML header, it's in the HTTP header. To check, try this:
You right, thanks.
telnet localhost 80 HEAD /xymon-cgi/ghostlist.sh HTTP/1.0 <press enter twice>
It works:
HTTP/1.1 200 OK Date: Tue, 02 Apr 2013 12:19:55 GMT Server: Apache/2.2.22 (Unix) mod_perl/2.0.4 Perl/v5.12.5 Connection: close Content-Type: text/html; charset=utf-8
But it not works for users. :-( Firefox 17.0.4 and IE9 are not recognize it.
I solved problem partially by adding to headers <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> but I would like to solve the problem globally...
-- Regards, Sergey