URL rewriting and server configuration

Source: Internet
Author: User

Importing a demo with better URL rewriting to the server does not support URL rewriting.

So I found some information on the Internet.

Http://www.vipcn.com/wangluobiancheng/ASP/293741.html

I still cannot implement it according to the above configuration. By accident, the following method is successfully configured as follows!

Http://www.it3f.com/article/sort05/sort032/info-1316.html

 

 

The following uses the Test site as an example to describe how to set IIS settings for. net framework 2.0 aspnet_isapi

Follow these steps:

1. Open the site, right-click Properties, and find the Home Directory (this example uses a virtual directory. For the server version, see the home directory)

Open the window shown in

 

(Figure 1)

2. Click "configuration" (such as location 1) to bring up the "Application configuration" window.

3. Click "add" (for example, location 2). The "Add/edit application extension ing" window is displayed,

4. Click the "Browse" button (such as location 2 ③) to bring up the "open" window,

5. In the open window,

A) Select the bottom file type as "dynamic Connection Library (*. dll)" (for example, 2 ),

B) In the search range, find aspnet_isapi.dll in C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ aspnet_isapi.dll (. net ramework 2.0 is installed on drive C)

 

(Figure 2)

Click OK.

6. After confirming, return to the "Add/edit application extension ing" window, configure as shown in 3, and click "OK.

 

(Figure 3)

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

Note:

In Figure 3, note the positions ⑤ and ⑥,

Hover the mouse over 5 to activate the "OK" button.

Otherwise, do not check it.

As long as you follow the above settings, you can make the. net Program Implement static page access.

This article is reproduced, [pioneer network]-Www. IT3F. COM
For more information, see: http://www.it3f.com/article/sort05/sort032/info-1316.html

 

 

Http://files.cnblogs.com/rhythmK/URLRewrite.rar

 

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.