美文网首页
Start an Apache WebServer in Mac

Start an Apache WebServer in Mac

作者: 庄什么庄 | 来源:发表于2017-10-03 15:37 被阅读0次

    cd /etc/apache2/users/username.conf

    change files content like below

    Options Indexes Multiviews

    AllowOverride AuthConfig Limit

    Order allow,deny

    Allow from all

    start the web server on you mac

    sudo apachectl start

    /*other command

    sudo apachectl stop

    sudo apachectl restart

    */

    the resources path is in 

    /Library/WebServer/Documents/

    any question contact me , i will help you asap

    相关文章

      网友评论

          本文标题:Start an Apache WebServer in Mac

          本文链接:https://www.haomeiwen.com/subject/fkhfyxtx.html