0

I have several js files under webroot

http://www.in-culture.info/app/webroot/js/

All the files are ok

Eg http://www.in-culture.info/app/webroot/js/lightbox.js

Except this

http://www.in-culture.info/app/webroot/js/jquery.cookie.js

It's throwing 406 Not acceptable error.

Help please.

2 Answers 2

1

Check file permissions, also try changing filename.

Sign up to request clarification or add additional context in comments.

2 Comments

You shouldn't need to change the name. My system works fine with that jQuery naming convention. What is your hosting setup?
justhost.com cpanel The domain is an add-on domain
0

If your server has mod_security enabled (which is usually present on cPanel hostings) the problem is that mod_security blocks filenames containing the text ".cookie".

So the solution is to rename the file to somethign else.

Source

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.