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?