Apache - Permissions are missing on a component of the path Apache - Permissions are missing on a component of the path apache apache

Apache - Permissions are missing on a component of the path


I finally found it! Thanks a ton Justin lurman to poiting out the .htaccess file. It made me see that Wordpress didn't have the right to edit my .htaccess file anymore. That was even more weird because I was 100% sure that permissions were good (even way too permissive if you ask me).

So I looked into SElinux, as I know it can play tricks on me at times and I was right. Issuing the following command solved it :

chcon -R --type=httpd_sys_rw_content_t wp-content/

I hope that helps someone else :)


In my case the containing folder did not have the +x permission, changing it to 755 did the trick.


Or you can run

find . -type d -exec chmod 755 {} \;find . -type f -exec chmod 644 {} \;

In those folders...