- Check that Apache is installed by running
httpd -v
in the terminal - Create the Site folder :
mkdir ~/Sites
- Find your username with
whoami
- Create the config file :
sudo nano /etc/apache2/users/votreuser.conf
- Paste the following code :
<Directory "/Users/votreuser/Sites/">
Options Indexes MultiViews
AllowOverride All