IIS Error 404 Files without extension

I got HTTP Error 404 - File Not Found when browsing files without extension, the same file could be seen properly with txt or html extension.

For requests to static content, IIS serves requests for files with known file name extensions only, a feature called Known Extensions. If a request is made for a resource whose file name extension is not mapped to a known extension in the MimeMap Metabase Property, IIS denies the request and logs a 404 error.

To resolve this error, use IIS manager to add the file extension to the Multipurpose Internet Mail Exchange (MIME) map on a specific directory or Web site.

To turn off the Known Extensions feature and thereby allow IIS to serve files with any extension for a specific site or directory, add the *, application/octet-stream value to the list of MIME maps (enter the asterisk in the Extension text box and application/octet-stream in the MIME Type text box on the MIME Type dialog box).
Share on Google Plus

About Vittorio Pavesi

    Blogger Comment
    Facebook Comment

3 commenti:

Anonymous said...

ugg bootsTHE SNOW wholesale ugg bootsSTARTED TO FALLWholesale handbags SEVERAL HOURS wholesale clothingBEFORE HER laborWholesale jewelry began.wholesale clothing A few flakes wholesale handbagsfirst, wholesale furniturein the dull Furniture Wholesalegray late-afternoon Wholesale jewelrysky,Ceramic tileand then Micro sd cardswind-driven swirls Wholesale clothingand eddies Wholesale Jewelryaround the edges Wholesale fashion jewelryof their wide Wholesale costume jewelryfront porch. ugg bootsHe stood by her wholesaleside at the windowwholesale electronics, watching sharp gusts of snow billow,skin care products
then swirl and drift to the ground. All around the neighborhood, lights came on, and the naked branches of the trees turned white.

Anonymous said...

ugg bootsOutside,uggs snow continuedHigh pressure blower to fall quietly throughIndustrial fan the darkness, Industrial bloweras bright and thick Commercial bloweras static in the wholesalecones of light castchina wholesale by the streetlights.wholesale shoes By the time he rosewholesale clothing and looked out watchesthe window, pressure blowertheir car had become a soft white hill on the edge pressure blowersof the street.fans Already his footprints blowers
in the driveway had filled and disappeared.

Anonymous said...

it seem this was true with win2008r2

but with win2008r2 sp1, you must add
"." instead ".*" as extension