asp.net - IIS 6 does not pick up the default document shows "Directory Listing Denied" -
in asp.net 3.5 web site have default.html page defined first default document in iis 6 web site configuration window. have url rewriting module written , when request default.htm comes pointed default.aspx page. when hit www.mysite.com/defaut.htm correctly displays default.aspx page (with url rewritten) when hit www.mysite.com
the reason iis 6 checks whether requested document exists default documents list has been entered in website setup unlike non default documents.putting dummy default.htm fixed issue.so if url rewriting used should make sure use them non default documents otherwise not work default documents if url physically not exists or should create dummy file match virtual url.
Comments
Post a Comment