Answer the question
In order to leave comments, you need to log in
How to fix 406 Not Acceptable error?
Greetings!
After moving from apache to iis, I started getting a 406 Not Acceptable error on the page ( www.access.repair/404.html). As a result, the rest of the content is not loaded. All standard types are registered in MiME. Tell me where to look, they just haven't tried it yet.
ajax settings:
$.ajaxSetup({
type: "get",
cache:false,
async:true,
accepts: 'text/html',
dataType: "html",
isLocal:true,
crossDomain:false
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question