MIME causes Zabbix Web page CSS style not to display problems

Source: Internet
Author: User
Tags mime file

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.