In IIS 7/Server 2008 is there a way of stopping a user browsing a virtual directory when the site at the level above is pointing to it.
When I add a Virtual directory to a server its URL would be;
But by changing the site to point to the physical folder of the virtual directory users are able to browse the site without entering the virtual directory name.
When I enable the latter by changing the site’s physical path is there a way of disabling browsing via the virtual directory name. Or driving users to the new http://HOSTNAME/default.aspx