Apache - Permissions are missing on a component of the path

前端 未结 6 1091
南笙
南笙 2021-02-08 11:03

None of my website images are loaded, although paths are correct. In my Apache logs, I have plenty of :

(13)Permission denied: [client 87.231.108.18:57108] AH00         


        
6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-08 11:31

    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 :)

提交回复
热议问题