Error Code: 500 Internal Server Error.

Source: Internet
Author: User

This article introduces The Error Code: 500 Internal Server Error. the request was rejected by the HTTP filter. Contact The server administrator. (12217) solution.

Problem Background:

A previous website www.xxx.com was deployed on Windows Server 2008 Server A. After running for A period of time, it was deployed on CentOS6.3 Server B, but the domain name has not changed. Now there is A problem, all links in URLs containing Chinese characters cannot be opened, and the following error is prompted:

Error Code: 500 Internal Server Error. The request was rejected by the HTTP filter. Contact the server administrator. (12217)

All servers are deployed on the Intranet and are accessed through the Nginx proxy server. I use the Intranet to access those URLs, but the Internet will not work, then I suspect it was a problem with the proxy server. Therefore, I reflected the situation to the O & M engineers of the company. He accessed the server over the Internet and found that the server was accessible.

This is strange. based on years of experience of O & M engineers, the following solutions are provided:

In the "doscommand box", enter the command "ipconfig/flushdns.

Refresh the page, access it successfully, and solve the problem.

 


--------------------------------------------------------------------------------

 

By the way, I checked "ipconfig/flushdns:

Ipconfig/flushdns: clears the local DNS cache content;

 

Ipconfig utility and its equivalent graphical user interface -- WinIPCfg in Windows 95/98 can be used to display the current TCP/IP configuration setting value. This information is generally used to check whether the manually configured TCP/IP settings are correct. However, if your computer and lan use the Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol, DHCP-a protocol in Windows NT that assigns a small number of IP addresses to a large number of hosts, similar to the dynamic IP Address Allocation for dial-up Internet access), the information displayed by this program may be more practical. In this case, ipconfig allows you to see if your computer has successfully rented an IP address. If you have rented an IP address, you can see the address assigned to it. Understanding the current IP address, subnet mask, and default gateway of a computer is actually necessary for testing and fault analysis.

The most common options

Ipconfig -- When ipconfig is used without any Parameter options, it displays IP addresses, subnet masks, and default gateway values for each configured interface.

Ipconfig/all -- when the all option is used, ipconfig displays the configured and used additional information (such as IP addresses) for the DNS and WINS servers ), and displays the physical address (MAC) built in the local Nic ). If the IP address is rented from the DHCP server, ipconfig will display the IP address of the DHCP server and the expected expiration date of the lease address (for more information about DHCP server, see other books about NT Server or ask your network administrator ).

Ipconfig/release and ipconfig/renew -- these are two additional options that can only work on computers that lease their IP addresses to the DHCP server. If you enter ipconfig/release, the leased IP addresses of all interfaces will be re-delivered to the DHCP server (return the IP address ). If you enter ipconfig/renew, the local computer will try to contact the DHCP server and lease an IP address. Note that in most cases, the NIC will be assigned the same IP address as previously assigned.

If you are using Windows 95/98, you should be more accustomed to using winipcfg instead of ipconfig, because it is a graphical user interface and displays the same information as ipconfig, you can also publish and update Dynamic IP addresses. If you have purchased a Windows NT Resource Kit (NT Resource package), Windows NT also contains a graphical alternative interface. The utility name is wntipcfg, which is similar to winipcfg in Windows 95/98.

Overview of parameters (you can also enter ipconfig/? in DOS mode /? Query parameters)

Ipconfig/all: displays the TCP/IP configuration details of the local machine;

Ipconfig/release: The DHCP Client manually releases the IP address;

Ipconfig/renew: The DHCP Client refresh the request to the server manually;

Ipconfig/flushdns: clears the local DNS cache content;

Ipconfig/displaydns: displays the local DNS content;

Ipconfig/registerdns: the DNS Client manually registers with the server;

Ipconfig/showclassid: displays DHCP type information of the network adapter;

Ipconfig/setclassid: sets the DHCP category of the network adapter.

 


--------------------------------------------------------------------------------

 

O & M personnel can access the website because they did not visit the website before, that is, there is no DNS cache information locally.

Q: How can I solve this problem automatically for other old users? Output header information? Which header?

 

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.