If you are using Firefox Indonesian version and getting HTTP error 501 Not Implemented on some websites, here is an info.
The culprit lies on the modsecurity installation on Apache webserver. The rules are:
- For modsecurity 2.5.10 (tested), using Core ModSecurity Rule Set ver.2.0.3: Rule id 958885 on modsecurity_crs_40_generic_attacks.conf around line 253 (254?)
- For modsecurity 2.1.7 (tested) using Core ModSecurity Rule Set ver.1.5.1: Rule id 950006 on modsecurity_crs_40_generic_attacks.conf around line 105-108
Workarounds:
- For modsecurity 2.5.10, workaround is to disable rule id 958885 in file modsecurity_crs_40_generic_attacks.conf
- For modsecurity 2.1.7 with core rules ver 1.5.1, workaround is to remove string “|id” (yes, remove that pipe character also) on the regular expression of rule 950006 in file modsecurity_crs_40_generic_attacks.conf
Tested using:
- Web browser:
- Firefox 3.6 (Localized version: Indonesia, nightly build) using following User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; id; rv:1.9.2b5pre) Gecko/20091126 Namoroka/3.6b5pre
- Firefox 3.6 (Localized version: Indonesia) on other platforms (win32 and linux)
- Released versions: Firefox 3.5, Firefox 3.0 (Localized version: Indonesia)
- wget -U “Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; id)”.
- Webserver:
- CentOS 5.4 on VirtualBox, using compiled Apache (2.2.14) and compiled Modsecurity (2.1.7)
- Fedora 10 on VirtualBox, using Apache RPM (2.2.11-2.fc10) and Modsecurity RPM (2.5.10-2.fc10)
I’ve reported the bug to modsecurity.org: https://www.modsecurity.org/tracker/browse/CORERULES-26 (you will need a login to view)
Update: tajidyakub has dicussed this this thread a year ago.
Update 2: Fix the rule id in the workaround
Update 3: Added the pipe character too, thanks to gregorius.
[...] 501 (Not Implemented) jika diakses dari Firefox Bahasa Indonesia. Menurut beliau ada yang harus dihapus sedikit pada rules modsecurity. Lakukan back up sebelum melakukan [...]
Oleh: Firefox Indonesia 501 (Not Implemented) akses ke apache modsecurity : documenting and sharing on 2.03.2010
at 09:19:21
Waaaaaaakkkkk….!!!!! Orang wiki…., orang firefox juga…. jangan2 orang linuk bankon juga nech….
Sujuuuuud…..!!!!!!
Oleh: Iwan Novirion on 19.03.2010
at 01:11:57
Mas, sampai versi terbaru, firefox bahasa indonesia-nya masih method not implemented ! harus report kemana yah ? supaya tidak perlu modif2 modsecurity
Oleh: Jos Dibja on 23.08.2010
at 14:25:48
Laporkan saja di URL bugnya
BTW, yang buat modsecurity juga bilang itu (too many) false positif
kok (silakan masuk ke URL bugnya untuk melihat komentar pembuatnya).
Saya nggak ngikuti perkembangan versinya.
Jadi saran saya: delete saja rulenya.
Salam
Oleh: rodin on 23.08.2010
at 14:37:31
pankal pokoknya, lakukan yang terbaik!
Oleh: roqib live on 17.10.2010
at 19:37:54