Support » Fixing WordPress » wp-cron is having mod_security error 500

  • I am seeing this on my error_log:

    [Tue Dec 16 02:47:55 2008] [error] [client nn.nn.nn.nn] mod_security: Access denied with code 500. Pattern match "^$" at HEADER [hostname ""] [uri "/wp-cron.php?check=623219d0598131d782fa6c88192ca86c"]

    Meaning that mod_security is bouncing these requests because the HEADER is empty. I can change mod_security by allowing self requests or not checking wp-cron.php requests but… is there any other way?

Viewing 1 replies (of 1 total)
  • So far, my solution was to add this to every host running WP (either in Apache conf files – a recommende method – or in .htaccess):

    <Files ~ "wp-cron\.php$">
    <IfModule mod_security.c>
      SecFilterEngine Off
    Order Deny,Allow
    Deny from All
    Allow from my.own.IP.address

Viewing 1 replies (of 1 total)
  • The topic ‘wp-cron is having mod_security error 500’ is closed to new replies.