Last post Jul 19, 2009 11:02 PM by Nai-Dong Jin - MSFT
Jul 15, 2009 03:14 PM|msfit|LINK
I'm using RewritePath method in Application_BeginRequest block to run default.aspx in each request of each page of my site.
It works fine: mysite.com/info/, mysite.com/contacsts/, ... -- all runs default.aspx
There's neither "/info/" nor "/contacts/" folder in server.
But if folder, for example "/orders/", exists on server:
then http://mysite.com/orders/ doesn't work, instead of default.aspx, I see page titled "Directory Listing -- /orders/" and a list of files in the directory.
I don't want this. I want use default.aspx. What can I do?
Jul 19, 2009 11:02 PM|Nai-Dong Jin - MSFT|LINK
I suggest that you can refer the following link: