iis 7 - MIME Type not working when added with appcmd -
when add mime type iis 7 via following code appcmd, shows in list doesn't work.
appcmd set config /section:staticcontent /+"[fileextension='.mp4 ',mimetype='video/mp4']"
if add via iis gui works expected. however, need script server deployment need know how make work appcmd.
try
appcmd.exe set config "default web site" -section:system.webserver/staticcontent /+"[fileextension='mp4',mimetype='video/mp4']"
Comments
Post a Comment