Slitaz Apache 與 mod_security

近日對 Slitaz 既興趣越來越高, 但係原來佢都係有唔完美缺點既. 佢既優點當然係容量小, 電腦硬件要求低. 正正因為容量小, 軟件包支援亦相對少, 而且就算有支援亦並非代表可以有功能上既擴展. 例如, 沒有 mod_security 軟件包提供, 要各位努力 compile. 雖然 modsecurity 有完善既說明文件, 但在 Slitaz 身上卻變成有點困難. 下文會先列出必須既軟件, 最後才將安裝步驟簡單列出.

在 Slitaz, 先安裝套件: slitaz-toolchain, gcc, apache-dev, apr-dev, lua-dev, curl-dev, apr-util-dev, pcre-dev, libxml2-dev, expat-dev

用 modsecurity 網站所提及既步驟便可: 1. 先解壓 source; 2. cd apache2; 3. 執行 ./configure; 4. 執行 make; 5. 執行 make test; […]

ModSecurity2 Configuration

Question2: I am hosting my own Blog, and every time I add a post I keep getting a not implemented error. Why is this happening? And how can I disable it for my posts? (I.e: disabling ModSecurity2 for a specific file).

Answer2: This is happening because ModSecurity thinks that you are trying to inject some […]