如何debuggingmodsecurity_audit_log

我在我的服务器上访问www.example.com/RestAPI/index.php/tweets.json

modsec_audit.log显示以下错误,但在modsec_debug.log没有相关的错误/警告。 我可以看到内部服务器错误logging在example-error_log中。

我怎样才能debugging这个内部服务器错误?

–8560e90b-A–

[21 / Mar / 2012:07:01:52 +0000] T2l84H8AAAEAAGxPZ @ QAAAAG xxxx 33101 xxxx 80

–8560e90b-B–

GET /RestAPI/index.php/tweets.json HTTP / 1.1 Host:www.example.com User-Agent:Mozilla / 5.0(X11; Linux i686; rv:11.0)Gecko / 20100101 Firefox / 11.0 Accept:text / html,应用程序/ xhtml + xml,application / xml; q = 0.9, / ; q = 0.8接受语言:en-us,en; q = 0.5接受编码:gzip,deflate DNT:1 Cookie:__utma = 159129855.1463065063.1331789485.1331789485。 1331789485.1; __utmz = 159129855.1331789485.1.1.utmcsr =(直接)| utmccn =(直接)| utmcmd =(无); 8cb6a414cf5ec1919864de0e80bea4da = 0es7dcu0p10cocfpferb2lddi0; 8926e4f3c475bb6fcacb409299f1bd27 = 53cf8c5e6bf78ea45096945377e6d609连接:keep-alive Cache-Control:max-age = 0

–8560e90b,F–

HTTP / 1.0 500内部服务器错误X-Powered-By:PHP / 5.3.5 Content-Length:0连接:closuresContent-Type:text / html; 字符集= UTF-8

–8560e90b-H–

Apache-Handler:php5-script秒表:1332313312358005 130428( – – – )生产者:ModSecurity for Apache / 2.5.12( http://www.modsecurity.org/ ); 核心规则集/ 2.0.5。 服务器:Apache

–8560e90b,Z–

我猜mod_security真的只是一个信使,而不是自己阻止任何东西。 HTTP 500内部服务器错误通常是由

  • 该虚拟主机/目录的错误Apacheconfiguration
  • 该目录中存在错误的.htaccess文件
  • 别的东西

其他一切工作正常在您的服务器,只有tweets.json不?