• Resolved brunopbarbosa

    (@brunopbarbosa)


    Hello all,

    every now and again a project i’m running where i’m using swift performance lite goes unavailable and the only thing you can see is a page with the message “XML-RPC server accepts POST requests only.”.

    My error log only shows this message, repeatedly:
    [Mon Jan 28 18:08:39.343285 2019] [core:crit] [pid 15047] (13)Permission denied: [client 94.46.135.151:45638] AH00529: /home/website/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/website/public_html/’ is executable, referer: https://website.com/wp-cron.php?doing_wp_cron=1548698919.3211829662322998046875

    As soon as i clear the cache with swift, the issue goes away, until it happens again a few weeks later.

    Any idea on what could be causing this?

    Best Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Fred

    (@fredawd)

    This is probably caused by an improper order of htaccess rules or missing (forced) rewrite rules from non-www to www. Please remove these rules from .htaccess and insert them in

    Settings→General→Tweaks: Custom .htaccess

    If this not solve your issue, please share your site URL here.

    Thread Starter brunopbarbosa

    (@brunopbarbosa)

    Hello Fred,

    sorry for the delayed reply, i got caught up in some other projects.

    In this particular case, there are no special .htacess rules other than what swift performance and wordpress create by default on the file, and a few hosting related settings.

    <IfModule php7_module>
       php_flag display_errors Off
       php_value max_execution_time 30
       php_value max_input_time 60
       php_value max_input_vars 1000
       php_value memory_limit 256M
       php_value post_max_size 24M
       php_value session.gc_maxlifetime 1440
       php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
       php_value upload_max_filesize 24M
       php_flag zlib.output_compression Off
    </IfModule>

    I do have a few domains that are being redirected to this particular domain.

    they are in a separate folder in the hosting where i have there a .htaccess file that redirects them to the homepage.

    Plugin Contributor Fred

    (@fredawd)

    Hi,

    In the meantime we have updated Swift. Can you check if the issue still persist?

    Thread Starter brunopbarbosa

    (@brunopbarbosa)

    Hello Fred,

    I’ve Updated the plugin and it does seem to work as expected now. I will report back if something else happens.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“XML-RPC server accepts POST requests only.”’ is closed to new replies.