Код:
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot "C:/xampp/htdocs/"
ServerName localhost
</VirtualHost>
<virtualhost *:80> ServerAdmin [email protected] DocumentRoot "c:/xampp/htdocs/doogals" ServerName doogals.home ServerAlias *.doogals.home ErrorLog "c:/xampp/htdocs/doogals/logs/doogals.home-error.log" CustomLog "c:/xampp/htdocs/doogals/logs/doogals.home-access.log" common <Directory "c:/xampp/htdocs/doogals"> AllowOverride All Options Indexes FollowSymLinks Includes ExecCGI Order allow,deny Allow from all </Directory>
</VirtualHost>
Code (ApacheConf):