Change the file extension to just a dot. dot-star is looking for any file extension, not no file extension.
IIS 500 Error when trying to access file without extension
DangerD
11
Reputation points
Server returns 500 error whem i'm trying to access file without extension, if i'll rename it and add ".jpg" it works fine.
web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="true" />
<cors enabled="true" failUnlistedOrigins="true">
<add origin="*" />
</cors>
<staticContent>
<mimeMap fileExtension=".*" mimeType="application/octet-stream" />
</staticContent>
</system.webServer>
</configuration>