CodeIgniter Forums
406 error on specific word. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: 406 error on specific word. (/showthread.php?tid=23708)



406 error on specific word. - El Forum - 10-20-2009

[eluser]rogierb[/eluser]
This morning I opened my email and saw a DSB email. For those of you not familiar, its a bank just gone bankrupt. One of our client made a small news item regarding the matter.

The funny thing is, the newsitem produces a 406 error on the word 'bank'. One can say it is karma:-)

My URL: http://somesite/site/news/a-news-item-about-dsb-bank/123

Where 123 is the news id and 'a-news-item-about-dsb-bank' just a slug that is not used.
If I remove the word 'bank', it works
If I use a uri like http://somesite/site/news/bank/123 or http://somesite/site/news/bbbbbank/123 it fails with a 406.

So I know it is the word 'bank', not 'dsb' wich would have been hilarious

Another piece of info, it just fails on one server only.

This server is on centos 5 and apache2.

Anyone got a clue?

Edit: tracked it down to mod_security. Now find a way to edit it's settings...