sudo vi /Applications/XAMPP/etc/extra/httpd-vhosts.conf
Listen 8000
<VirtualHost localhost:8000>
#ServerName test.com
DocumentRoot "/Volumes/data/projects/magento/project1/"
<Directory "/Volumes/data/projects/magento/project1/">
Options Indexes FollowSymLinks IncludesNoExec
AllowOverride All
<LimitExcept GET POST HEAD >
Deny from all
</LimitExcept>
Require all granted
</Directory>
</VirtualHost>
2. Configure httpd.conf
- Load vhost configuration: find & uncomment line below:
# Virtual hosts
Include etc/extra/httpd-vhosts.conf
- Find & configure User and Group param as below
User yourUser
Group admin