E
E
Evgeny Shiryaev2017-03-21 19:06:42
JavaScript
Evgeny Shiryaev, 2017-03-21 19:06:42

JQuery script not parsing?

Greetings.

Actually the problem is the following, after moving the site from apache to iis 10, the JQuery script stopped working. And on apache everything works perfectly.

When entering the wrong url, the user is redirected to a generated 404 page. In iis, the content of this page is not displayed, everything hangs in one place. The error GET access.repair/ajax/404.html?_=1490257623612 406 (Not Acceptable) is thrown in the console. Here is a link to the page where the script does not work ( www.access.repair/404.html ). Tell me, maybe something needs to be added to iis? Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max, 2017-03-22
@7workers

it seems that you need to specify the absolute path to the scripts. on the page:
www.access.repair/abc
scripts are loaded from here:
www.access.repair/abc/js/jquery.easing.js
and you need:
www.access.repair/js/jquery.easing.js

S
Sanostee, 2017-03-22
@andrewpianykh

Edit paths in
www.access.repair/js/script.js
www.access.repair/js/core.js
include(....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question