Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

extensionless image file not visible in IIS7.5

We have extension less images which worked perfectly in iis6. However, in IIS7.5 even after adding the static file handler i am not able to get it to display the image. I have ticked the Static content option in properties for IIS7.5 the operating system for server is Windows Server 2008 R2. The image file with extension are visible properly. However those without extension give me 404 in fiddler. The mime type application/octet-stream has also been added for .* filename extension

like image 311
bhupendra patel Avatar asked Jul 13 '12 15:07

bhupendra patel


1 Answers

Found the answer myself. We need to have the Static File Module above the ExtensionlessUrlHandler.


enter image description here

This worked and now i am able to see my extensionless images as well.

like image 132
bhupendra patel Avatar answered Sep 30 '22 12:09

bhupendra patel