iis 7.5 - Setting Default WebPage in IIS 7.5 -


i'd hd problem in machine intranet iis server installed , i've reinstalled software. i've restored site data new iis now, when type server address in browser in client or server machine, doesn't find page ("default.aspx"). can allow "directory browsing" , click file but, obviously, don't want alternative, neither obligating users type "default.aspx" in end of url.

maybe it's simple configuration, i've cannot found in iis.

put following in site's or application's web.config file:

<system.webserver>     <defaultdocument>         <files>             <add value="~/default.aspx"/>         </files>     </defaultdocument> </system.webserver> 

Comments

Popular posts from this blog

how to build hyperlink for query string in php -

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

queue - mq_receive: message too long -