Ali’s Knowledge Base
Destination Cloud …

Ali’s Knowledge Base

Open / View .Bat .log files in IIS6 Windows 2003

December 8th, 2004 . by Ali

When you try and click on a .log file served from IIS6 you receive a 404 error.

You need to look through you log files and find out exactly what 404 IIS was giving. If it was 404 with a sub status of 3, then it is denied due to MIME Type, so make sure to add a .log/bat MIME Type at the website/vdir level and it should immediately be downloadable.

You can add the .log extension with application/octet-stream in the MIME types.

However, if that vdir has “Scripts and Executables” enabled and a Scriptmapping for .bat, then you will likely see 404.2 — in which case, you need to remove the Scriptmapping so that downloading is allowed.
If it returned 404 with a win32 error of 2, then that’s a real “file not found” — look at the vdir mapping to make sure the file actually exists where you think it does.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

4 Responses to “Open / View .Bat .log files in IIS6 Windows 2003”

  1. comment number 1 by: phentermine

    Great site! Best wishes!

  2. comment number 2 by: Anonymous

    Some one tell me that your website is very good !I do think so!

  3. comment number 3 by: Anonymous

    In your free time, visit the sites dedicated to… Thanks!!!

  4. comment number 4 by: Anonymous

    Just dropping in to let you know you have an interesting site. I hope you’ll continue to work on it. Wishing you all the best.

Leave a Reply

Name

Mail (never published)

Website