WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Theme folder is hardened with index file, get error from CloudFront servers (2 posts)

  1. Parneix
    Member
    Posted 1 year ago #

    Hi,

    I need help to interpret and possibly fix an recurrent error in my error log.

    I will frequently get this:
    client denied by server configuration: /home/user/mysite.net/wp-content/themes/mytheme/index.php

    The IP corresponds to Amazon CloudFront servers abc123.cloudfront.net (see here) which I indeed use for my CDN.

    The problem is 1) How can I be sure it’s legit (I think it is though).

    How to allow CloudFront to access my index.php inside my theme folder. My whole theme folder has an empty index.php file to protect it.

    By the way, nothing is broken. Everything seems ok.

    Thanks!

    P.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    Cloudfront cannot mirror PHP files.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic