Discuz Windows configuration iis7 url static URL

Source: Internet
Author: User

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

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.