Iis6 pseudo-static graphic configuration tutorial

Source: Internet
Author: User

This article shares a tutorial on iis6 pseudo-static graphic configuration. If you need to know how to configure pseudo-static iis6 in windows, refer to this article.

1. Right-click the website you want to set up

2. properties -- home directory -- configuration --

3. In the right window, find the. aspx extension -- "edit --" copy the path of the executable file -- "close

4. Click "add --" to paste the copied executable file path.

5. Fill in. html extension (if it is. htm or any extension you want, the premise is that the extension is not included in the application extension list in the future)

6. Check whether the file exists.

7. OK

If you do not know how to configure iis6 web. config pseudo-static, refer to this article.

Iis6 web. config pseudo-static configuration method skip this step if you know it.

 

1. The parameters are included in () and $1 is used to obtain the parameters.

2. Use & amp; To separate multiple parameters.

3. Add Intelligencia. UrlRewriter. dll to the bin directory.

The Code is as follows: Copy code

<? Xml version = "1.0"?>

<Configuration>

<ConfigSections>
<Section name = "rewriter" requirePermission = "false" type = "Intelligencia. UrlRewriter. Configuration. RewriterConfigurationSectionHandler, Intelligencia. UrlRewriter"/>
</ConfigSections>
<System. web>
<HttpModules>
<Add type = "Intelligencia. UrlRewriter. RewriterHttpModule, Intelligencia. UrlRewriter" name = "UrlRewriter"/>
</HttpModules>
</System. web>
<Rewriter>
<! -- Homepage -->
<Rewrite url = "~ /Default.html $ "to = "~ /Default. aspx "processing =" stop "/>
<! -- News -->
<Rewrite url = "~ /News/list-([A-Za-z0-9-] * ).html $ "to = "~ /NewsList. aspx? TypeUrl = $1 "processing =" stop "/>
<Rewrite url = "~ /News/list-([A-Za-z0-9-] *)-([0-9] * ).html $ "to = "~ /NewsList. aspx? TypeUrl = $1 & amp; page = $2 "processing =" stop "/>
<! -- News details -->
<Rewrite url = "~ /News/([A-Za-z0-9-] * ).html $ "to = "~ /NewsDetail. aspx? Url = $1 "processing =" stop "/>
</Rewriter>
</Configuration>


If you do not know how to configure iis6, refer to this article.

 

Success. I think writing is very detailed. If you have any questions, please leave a message.

 
 

If you have any questions, contact us.

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.