差不多兩年無寫自已既 Blog 了 @@
回到這裡第一件事當然係 Upgrade 個 Wordpress 同 Delete 好多好多 Spam 既 Comments。
Upgrade 後發現 Dashboard 用唔到,出現 404 Errors,立即睇下 Log,發現以下資料:
mod_security: Access denied with code 500. Pattern match "!(^$|^application/x-www-form-urlencoded$|^multipart/form-data)" at HEADER("Content-Type") [hostname "clog.hkwebs.net"] [uri "/wp-admin/index-extra.php?jax=incominglinks"]
mod_security: Access denied with code 500. Pattern match “!(^$|^application/x-www-form-urlencoded$|^multipart/form-data)” at HEADER(”Content-Type”) [hostname "clog.hkwebs.net"] [uri "/wp-admin/index-extra.php?jax=devnews"]
原來 Dashboard 中左 mod_security 既 rule @@ 不過都係要上 Wordpress 既 Forum 搵搵資料。
最後發現原先都唔止我一個係咁樣。
解決方法好簡單,只需要 mod_security 唔好 Search index-extra.php 便可以了。
左 .htaccess 中加上:
SecFilterInheritance Off
解脫 Dashboard mod_security error .httaccess。
P.S. 我不會忘記這 Blog 的 @@ 因為有太多野想和大家分享了。








