Apache gives Access denied on macOS Catalina

前端 未结 4 923
广开言路
广开言路 2021-02-19 10:39

I have Apache webserver (the one supplied by Apple) running on my Macbook and it ran flawlessly, until I upgraded to Catalina 10.15. I used the same httpd.conf, but now it is di

4条回答
  •  一整个雨季
    2021-02-19 11:38

    I have found the solution, myself.

    It is a Catalina issue:

    1. Go to System Preferences => Security & Privacy => Full Disk Access
    2. Click on the "+" button to add an app and go to the root folder of the disk and press Cmd + Shift + .(dot)
    3. Go to /usr/sbin/ and select httpd.

    That worked for me.

提交回复
热议问题