`Apache` `localhost/~username/` not working

前端 未结 7 925
予麋鹿
予麋鹿 2020-11-28 00:40

UPDATE: The following answer will also work for El Capitan.

For people who just start, the file mentioned below is under /etc/apache2

For th

7条回答
  •  野性不改
    2020-11-28 01:40

    In Apache 2, you've to enable mod_userdir extension, e.g.

    a2enmod userdir
    

    Prefix with sudo if required.

    Then reload/restart Apache.

提交回复
热议问题