• Resolved macbook71

    (@macbook71)


    Hi, we are using autoptimize plugin but on daily basis there are is a lot error in the log are coming as below:

    [authz_core:error] AH01630: client denied by server configuration: /home/***/public_html/wp-content/cache/autoptimize/autoptimize_single******.php.

    We checked to find some solution for this but no success. we are using O2switch share hosting with cpanel.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    re-enable the “serve as static files” option near the bottom of the main Autoptimize settings page and all will be well macbook71 ??

    hope this helps,
    frank

    Thread Starter macbook71

    (@macbook71)

    Thanks ??

    The problem is that it was already activated ??
    I unchecked the box when I saw the errors in the Apache log, so do I need to check it again?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    the option needs to be on indeed, if it is off the CSS/ JS will be served as PHP-files (as can be seen in your logfile extract; wp-content/cache/autoptimize/autoptimize_single******.php) and a lot of security solutions (plugins) and hosters prohibit php-files being loaded/ executed directly from within wp-content/cache. if the option is on, the files are static (i.e. .css or .js) and those should just work.

    it is likely you’ll have to clear any/ all page cache(s) you (or your host) have though.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[authz_core:error] client denied by server configuration’ is closed to new replies.