3、修改 httpd-vhosts.conf
#站点1 plc <VirtualHost *:80> DocumentRoot "D:\xampp\htdocs\v4" ServerName www.plc.com <Directory "D:\xampp\htdocs\v4"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted </Directory> </VirtualHost>
#站点2 iot <VirtualHost *:80> DocumentRoot "D:\xampp\htdocs\iot" ServerName www.iot.com <Directory "D:\xampp\htdocs\iot"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted </Directory> </VirtualHost>
|