Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

The configuration (StaticFileModule) under IIS 7 is invalid to IIS 10

$
0
0

The web.config of IIS 7 has a configuration similar to the following for dynamic and static separation. For example, the gif file wants to be parsed by IIS, and the dynamic file is parsed by the application server:

<handlers accessPolicy="Read, Execute, Script">
    <add name="aaa(*.gif)" path="*.gif" verb="*" modules="StaticFileModule" resourceType="Either" />
...

After the server was upgraded from 2008 to 2017, The IIS version is upgraded to 10,  and the configuration above was found to be invalid. IIS returned a 500 error for all requests for static files.

Does this configuration fail in IIS 10, and how should I change it? Thank you


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>