You have no items in your shopping cart.

Friday, April 26, 2024 12:42:16 AM

iis server blocking access to .webp files

Posted: 5 years ago

#8778 Quote

Support

Posted: 5 years ago

#8778 Quote
So I'm trying to add .webp image support, which is run on iis.

now the image exists on the server and the file name is correct but when I try to load the image via url address in the browser I get the 404 error.

    404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Posted: 5 years ago

#8779 Quote

Support

Posted: 5 years ago

#8779 Quote
It's beter add this config to your webconfig file

<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".webp" mimeType="image/webp" />
</staticContent>
</system.webServer>
</configuration>

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved