Using VestaCP with nginx + httpd on CentOS 6.7The website works perfectly, but to load php files from javascript failes since it gives 403 error.I have tried the following: (Every folder got the same owner and permissions (755) )wp-content/test.php  // Error 403wp-includes/test.php // Error 403wp-admin/test.php    // OK, 200test/test.php        // OK, 200wp-contest/test.php  // OK, 200In fact... wp-content/*.php and wp-includes/*.php fails, including php in subdirectories inside these folders.Any php file located in wp-content and wp-includes give me automatically 403 error, even when these files doesn't exists, I got 403 instead of 404.I checked nginx.conf and there is nothing related with wp-content/wp-includesI checked .htaccess, nothing weird, I even removed it after backing it up.Folder permissions are 755 and files are 644Also tried with restorecon -R /home/$user/web/url/public_htmlNothing worked, I don't think this is wordpress related since files are loaded standalone, instead, it must be server related.Aditional data:We use cloudflare with proxy disabled, I don't think it inherited any config from the previous owner which causes this issue, but I wouldn't discard it.The website has been just migrated from hosting to our vpsI'm sysadmin and we got about 60 websites, anyother site doesn't have this issue :/
Getting 403 in any php located in wp folders
wordpress
Well, I feel ashamed to say that there was another .htaccess in wp-content and wp-include folders with the following rule:<FilesMatch \.(?i:php)$>  <IfModule !mod_authz_core.c>    Order allow,deny    Deny from all  </IfModule>  <IfModule mod_authz_core.c>    Require all denied  </IfModule></FilesMatch>Many hours smashing my head with the keyboard because of it.