Reputation: 3721
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.
Upvotes: 0
Views: 508
Reputation: 5734
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.
Upvotes: 0