Re: Enabling *.bat files to be served on iis6 by David
David
Sun Jun 20 07:51:38 CDT 2004
MIME Types defined at global (webserver) level requires restarting IIS for
it to take effect
MIME Types defined at the website level (and below) take effect immediately.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:%23sncflFVEHA.4092@TK2MSFTNGP11.phx.gbl...
It should be inherited... unless there is something defined at the webserver
level blocking it...
That's a strange situation you have there.
Cheers
Ken
"GunYan" <GunYan@discussions.microsoft.com> wrote in message
news:7D4D5D9A-0BB7-43E3-B3BB-B04CCF3BD078@microsoft.com...
: That solved it! Thanx! The first time I set the mime type on web server
level (which didn't work). Setting the mime type on web site level worked
much better. I thought the mime type would be inherited from the webserver
level and down but apparently not... (I wonder why it's there there at all
then, hm...) Nevermind, it works now!
:
: Cheers!
:
: GunYan
:
: "Ken Schaefer" wrote:
:
: > Hi,
: >
: > HTTP Error 404.3 - File or directory not found: MIME map policy prevents
: > this request.
: >
: > I think you may have your MIME types not setup correctly yet. Where did
you
: > define the .bat MIME type?
: >
: > Cheers
: > Ken
: >
: > "GunYan" <GunYan@discussions.microsoft.com> wrote in message
: > news:55F0E76C-C161-4C91-BDC6-269BFD2256DD@microsoft.com...
: > : I'm not sure exactly what u mean but i found this in the logfile when
i
: > try to access the file: 404 3 50
: > :
: > : "Ken Schaefer" wrote:
: > :
: > : > Please check the HTTP substatus in the IIS logfiles and report back
to
: > us.
: > : >
: > : > Cheers
: > : > Ken
: > : >
: > : > "GunYan" <GunYan@discussions.microsoft.com> wrote in message
: > : > news:2AB422CA-4F7D-4468-8E1A-2F38A3163C40@microsoft.com...
: > : > : I get a HTTP Error 404 when i try to link a bat file for
downloading
: > on my
: > : > iis6. I already added bat to the the mime types and set the mime
type to
: > : > application/octet-stream. (dont know if that is the right mime type)
but
: > i
: > : > still get a 404. If I change the extension to *.txt it works fine so
: > there
: > : > is nothing wrong with the path.
: > : >
: > : >
: > : >
: >
: >
: >