Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

IIS6 is refusing to host files with a space in the name. The browser requests the file as: http://mysite.com/files/this%20is%20a%20file.wmv, which is fine. But IIS just returns a 404 for it. Replacing spaces with dashes works fine. This is a new development setup, and the previous IIS6 server hosted the files just fine, so I must be missing a setting somewhere to enable this.

Just to be explicit, the MIME types for the file are set up fine, as evidenced as when I remove the spaces and uses dashes instead.

share|improve this question
add comment

1 Answer

just a guess - is URLScan or something similar configured on the server and blocking the %20 -> space mapping or resulting URL?

You could test the % mapping question by getting a working url e. g. once with dashes as you said, then replace a character such as %61 for "a".

share|improve this answer
    
I do not believe URLScan is installed. I can't find it under the %windir%/system32/inetsrv folder, nor under Add Remove Programs. –  Mortanis Feb 7 '11 at 21:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.