tags:

views:

42

answers:

1

I have a text file that I am trying to browse to using the browser http://files.mydomain.com/test.txt and I get a:

HTTP Error 404.0 - Not found 

I double checked and the text file does exist. When I add a test.htm file, I have no issues.

Can someone help? Something tells me it's security issue.

+1  A: 

Have you checked the following:

  1. Your DNS 'A' record for 'files' is pointing to the correct IP address
  2. If your server is using a shared IP address across multiple sites have you configured a HTTP host header?
  3. Is there a mime type set for the .txt extension?
  4. Have you made any changes to the Handler Mappings for the site? e.g. mapped the .htm extension to say the ASP ISAPI filter and accidentally removed the StaticFile handler?
  5. Can you serve other static content such as .jpg, .gif, .pdf etc?
Kev