The image file on the server exists, but some images on the browser are shown as 404 errors and 404 errors.

Source: Internet
Author: User

The image file on the server exists, but some images on the browser are shown as 404 errors and 404 errors.

Background: some images on the webpage are not displayed. Error 404

Cause analysis:

Why are some images and some images unavailable? After carefully comparing the image file names, you can find that the names of images that cannot be displayed contain spaces or plus signs.

Zookeeper was originally like this.

1. In the iis7 environment under window2008, the url contains a space or a plus sign, and the url cannot be accessed normally.

2. The request Filtering module is configured to reject requests that contain double escape sequences. The browser returns an HTTP Error 404.11-Not Found.

Solution:

Solution 1: Modify the file name without the plus sign or space

Solution 2: Modify the web. config file, find the <system. webServer> node, and add <requestFiltering allowDoubleEscaping = "true">

Related Article

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.