In the jar searched a lot of posts about the static URL problem, at first also because of the same problem. Unfortunately, there are many jars in the way can not solve. So I had to grope. The solution is summarized as follows:
I use the WIN2008+IIS7 standalone host, the others have not tried.
1, first download a urlrewrite. As follows:
Http://download.microsoft.com/download/0/3/E/03EBE3E1-494A-4DC7-B04B-F2B0A35FA988/rewrite_1.1_amd64_en-US.msi
Install directly, do not change what parameters, all the way next on the line. The URL Rewrite will appear when you restart IIS after the installation is complete
: Http://www.iis.net/download/URLRewrite
2, in the background, you need to static options are ticked on.
3. Click to view the current Rewrite rules, find "IIS7 Web Server (standalone host user)", copy the contents to Web. config.
The Web. config is built in advance, so just add it to it. Remember to add between <system.webServer></system.webServer>.
Discuz Windows configuration iis7 url static URL