LS,

When I try to access an URL that points to a directory that doesn't contain a Default Document, IIS 7.0 sends me this response:

HTTP/1.1 200 OK
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
Date: Tue, 23 Feb 2010 07:36:47 GMT
Content-Length: 0

I was wondering, is there any way to make it output a 404?

Kind regards,

Matthias Vance

link|improve this question
@Matthias Vance: do you have directory browsing enabled or disabled for the directory in question? – MattB Feb 23 '10 at 17:18
I haven't enabled directory browsing for any directory, including this one. – Matthias Vance Feb 25 '10 at 8:03
sorry, no ideas from me then - what you are seeing is not the default behavior from IIS7. The default behavior with no default document and directory browsing disabled is a 403.14 (forbidden) error. I'm wondering if you have a module enabled that is changing the behavior? – MattB Mar 4 '10 at 16:07
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.