« Previous Next »

Thread: IIS6 Wildcards and problems with spaces in URL

Last post 11-05-2008 6:56 AM by ganeshanekar. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 11-03-2008, 11:43 AM

    IIS6 Wildcards and problems with spaces in URL

    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?

     

     

  • 11-05-2008, 6:56 AM In reply to

    Re: IIS6 Wildcards and problems with spaces in URL

    Check out following KB and see if it helps.

    INF: Http.sys Registry Settings for IIS
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;820129

    ~ Ganesh

     

Page 1 of 1 (2 items)
Microsoft Communities