
171 #running httpd, as with most system services. 172 # 173 User daemon 174 Group daemon 175 </IfModule> 171 #running httpd, as with most system services. 172 # 173 User username 174 Group daemon 175 </IfModule> 487 #Virtual hosts 488 #Include etc/extra/httpd-vhosts.conf 487 #Virtual hosts 488 Include etc/extra/httpd-vhosts.conf #localhost <VirtualHost *:80> ServerName localhost DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs" <Directory "/Applications/XAMPP/xamppfiles/htdocs"> Options Indexes FollowSymLinks Includes execCGI AllowOverride All Allow From All Order Allow,Deny </Directory> </VirtualHost> #My custom host <VirtualHost *:80> ServerName site.local DocumentRoot "/Users/username/folder/site.local" <Directory "/Users/username/folder/site.local"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted </Directory> ErrorLog "logs/site.local-error_log" </VirtualHost> #XAMPP VirtualHost 127.0.0.1 site.local Source: https://habr.com/ru/post/439994/