RSS

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

08 Dec

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.

 
4 Comments

Posted by on December 8, 2004 in General, Windows 2000, Windows 2003, Windows XP

 

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

  1. phentermine

    January 17, 2005 at 5:24 am

    Great site! Best wishes!

     
  2. Anonymous

    January 19, 2005 at 3:46 pm

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

     
  3. Anonymous

    January 24, 2005 at 11:37 am

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

     
  4. Anonymous

    April 1, 2005 at 2:35 am

    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

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.