iis 6 - HTTP 404 file not found error even the file exist in the webserver IIS6.0 -


i having files in server available downloads. using iis6.0. when try download pdf file http 404 file not found error. having file in server. while googling found need enable mime type. can 1 explain me , rid of problem

this easy enough sort out

to enable globally on site hosted iis instance

open iis manager right click server name select properties click mime types button click new extension .pdf mime type application/pdf 

to add single site on iis instance

open iis manager right click sites name select properties choose 'http headers' tab click mime types button click new extension .pdf mime type application/pdf 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -