The preface and the Middle passage are all the processes and ways of thinking that I have found the problem. Not interested can skip to see the problem and solve later.
Objective:
The problem occurs when the site is completed and deployed to the server. Thought it was the easiest job. The result was a tragedy. The IIS7 is used on Windows Server 2008 R2. URL redirection with no suffix is not recognized. A lot of people will say that the problem is very common ah, a lot of information on the Internet. Actually, I'm going to give you the most official solution to the problem today.
The end of the nonsense. First of all, I searched a lot and found a few problems later.
First, the solutions offered are old. Many sites are copying each other. Most of the maps are gone.
Second, there are also most of the maps are IIS6 this version of the picture.
Third, the most pit dad is this. All information is to add a * asterisk mapping, seemingly the problem solved. But there are a lot of sequelae. For example, when you really need to visit the last file, there will be problems.
Four, I feel like this method is very cottage AH. Since Microsoft itself has made it a style without suffix does it not provide a way?
So I went through the relentless search. On the official website. Found the same problem with a foreigner. The following is the official approach.
Problem:
Microsoft MVC4 Development after the URL address is redirected through the page. So there is no suffix. IIS is not recognized.
Solve:
Microsoft gave the official solution a long time ago, but there are few people in the country who seem to know (and probably many people who know that it's too easy to send a question online).
The official provided a patch to handle URL no suffix
Download Address: http://support.microsoft.com/kb/980368
Download the installation server directly. Okay, now you don't need to add any mappings. Your IIS7 can also support the no-prefix redirection page.
End:
The problem is simply to download a patch and then install it. It would be nice to pass over the problem. Don't say I'm too retarded. I just wanted to share some of the questions that I actually encountered but were not easy to find.
Please give me a reply if it is helpful to you. It's a great motivator for me.
Reprint this article please mark the source Http://www.cnblogs.com/YouyouWang