Apache giving 404 error after Mac OS sierra update

后端 未结 6 514
庸人自扰
庸人自扰 2020-12-30 01:30

I just updated to Mac OS 10.11 Sierra lately and classic web server is not working properly, or I should say that my home directory is not working Apache server is working a

6条回答
  •  一整个雨季
    2020-12-30 02:14

    In case anyone else comes across this and had problems accessing your vhosts after following the chosen answer there was one extra step I had to take.

    Inside /private/etc/apache2/extra/httpd-vhosts.conf they had removed the line (in my case it was meant to be right at the bottom of the file):

    Include /private/etc/apache2/vhosts/*.vhost
    

    And then

    sudo apachectl restart
    

提交回复
热议问题