I have written and tested an url rewriter on a Vista machine and now wanted to deploy it on Win 2003 server running IIS6. The problem is that when I enable the wildcards (disabling the verification of whether the file exists), the IIS stops accepting spaces in URLs. So paths like these:
http://acme.com/images library/img 20081002.jpg
http://acme.com/images%20library/img%2020081002.jpg
do not resolve and come back with 404. I have tested it with the URL rewriter turned on and off, this behaviour is consistent - the problem occurs only when wildcards are defined, goes away instantly when they are off.
is there any way to make IIS6 correctly interpret such paths without going through the arduous process of removing spaces everywhere and making sure that no other developer uses them in the solution and no operator uploads image with a space in the file name from now on?