Codeigniter shows an 404 error page, for a javascript file. The file is in a js folder. The file in question is jquery.cookie.js.
If I change the filename, then I can access the file.
There are no route settings or .htaccess rules for the file, but for some reason codeigniter is showing its default 404 page when the javascript file is accessed.
Ok, finally figured out what the problem was. Any file that has “cookie” in its filename was blocked by mod_security on our server.