Fcgi checks rewrite

Fix the fastcgi rewrite rule problem that crash the rewrite mod test during installation requirement check.