Apache giving 404 error after Mac OS sierra update

后端 未结 6 556
庸人自扰
庸人自扰 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 01:51

    cd /etc/apache2
    sudo mv httpd.conf httpd.conf.sierra
    sudo mv httpd.conf~previous httpd.conf
    
    cd /etc/apache2/extra
    sudo mv httpd-vhosts.conf httpd-vhosts.conf.sierra
    sudo mv httpd-vhosts.conf~previous httpd-vhosts.conf
    
    sudo apachectl restart
    

提交回复
热议问题