I am looking to configure an IIS 7 website's virtual directory to only show .log files. The virtual directory is that of an application on the server, however I only want the .log files to be visible, along with directories containing .log files. The issue is, the directories' contents are always changing daily, and I am looking for a whitelist-style way of only displaying the .log files in the directory since a static list would display the newly added files.
I am using Windows Server 2008 R2 with IIS 7. Any help would be appreciated.