ASP. NET Settings default open page, Web.config,defaultdocument

Source: Internet
Author: User
Tags microsoft iis

The Web. config file can be used to set a default document, or list of default documents for your website. Web. config can used to change the default document (page) for an entire site, or in a directory by directory basis. The default page is a. php,. asp,. htm,. aspx,. CFM, or any other file type handled by the Web server.

  

1<configuration>2 3<system.webServer>4 5<defaultDocument>6<files>7<clear/>8<add value="index.asp"/>9</files>Ten</defaultDocument> One  A</system.webServer> -  -</configuration>

Microsoft IIS Knowledge Link:http://www.iis.net/configreference/system.webserver/defaultdocument;

CSDN Blog: http://blog.csdn.net/happymagic/article/details/8824609;

Lionden May 14, 2014

E-mail:[email protected]

Reprint please specify the original address and blog Park lionden:http://www.cnblogs.com/lionden/

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.