After Yum finishes loading Zabbix on a new system, it finds that the Web page does not display the CSS style sheet correctly. Pages such as:
650) this.width=650; "title=" image "style=" border:0px;padding-top:0px;padding-left:0px;padding-right:0px;width : 700px;height:526px;background-image:none; "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/75/5A/ Wkiom1y3ll3ibiliaaqm6qlkdym215.jpg "height=" 526 "width=" "hspace=" 0 "vspace=" 0 "/>
Looked under the directory found. css files and picture files are all in, not file path issues. Baidu was found to be mime to text/css parse into text/html caused. So I simply found a relatively full mime.types file into/etc, renamed to Apache_mime.types. Then modify the Apache configuration file to modify the MIME file path to/etc/apache_mime.types.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/75/5a/wkiom1y3ll6cwoefaacemjc9xc0789.jpg "height="/>
The page displays normally after restarting the HTTPD service and clearing the cache.
650) this.width=650; "title=" image "style=" border:0px;padding-top:0px;padding-left:0px;padding-right:0px;width : 700px;height:449px;background-image:none; "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/75/5A/ Wkiom1y3ll6x8gaeaapvox4i0oa109.jpg "height=" 449 "width=" "hspace=" 0 "vspace=" 0 "/>
Mime.types documents required Please download the attachment or go to 51cto Download Center to download. When using, remove the. txt suffix and place it under etc.
------------------------------------------
http://down.51cto.com/data/2113886
------------------------------------------
This article is from the "Bran" blog, make sure to keep this source http://branguo.blog.51cto.com/9768383/1708894
MIME causes Zabbix Web page CSS style not to display problems