Advertisements

Setting defualt page as start page in web confg file in asp.net


<configuration>
<system.webServer>
<defaultDocument enabled="true"> <!-- this line enables default documents for a directory -->
<files> 
<clear/> <!-- removes the existing default document list --> 
<add value="rajeeshmenoth.htm"/> <!-- foo.htm is now the default document --> 
<add value="rajeeshmenoth.php"/> <!-- 2nd default document in search order --> 
<add value="rajeeshmenoth.aspx"/> <!-- 3rd default document in search order --> 
<add value="rajeeshmenoth.cfm"/> <!-- 4th default document in search order -->
</files>
</defaultDocument>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: