We are trying to implement rewriting for non existent directories and files.
although we can make domain.com/filename.aspx to redirect, the same is not happening for domain.com/directoryname
Since we are using IIS 7, we tried to add
<modules runAllManagedModulesForAllRequests="true">
in the system.webserver section of the config file.
The documentation states that this should work, but strangely it does not.
Can anyone guess what the reason could be?
all help will be appreciated.