Generate HTML static URLs [teach you how to install Rewrite]_ Web Apps under IIS
Source: Internet
Author: User
Teach you how to install rewrite under IIS
If you want to have a server of your own,
Download here: Http://www.isapirewrite.com/download/isapi_rwl_0055.msi
Then install it, whatever you want.
Then, open Internet Information Services, right-click, Web site Properties, point ISAPI Filter tab. Add a filter, name the Rewrite, specify the path yourself Isapi_rewrite.dll (under the root of the installation), and then determine.
At last..
Start adding rewrite rules. Regular, find Isapi_rewrite directory, remove Httpd.ini read-only attribute, open edit.
I wrote for everyone, put the following 4 sentences in the Add on the line, respectively, mapped the section, plate, read posts:
Program code
Rewriterule/default (\d+) \.html/default.asp\?cateid=$1
Rewriterule/defaultpage (\d+) \.html/default.asp\?page=$1
Save ... ok ... You can also visit birds like the one above.
[This method needs to be independent to operate the server (of course, if your space business is willing to help you set up ISAPI filter is also possible)]
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.