PLC解密网-PLC培训学习-工控自动化人才技术交流

超级管理员

453

帖子

1378

回复

3110

积分

楼主
发表于 2020-04-27 17:19:00 | 查看: 3938 | 回复: 5

超级管理员

453

帖子

1378

回复

3110

积分
沙发
发表于 2020-04-27 17:21:12

image.png

image.png

超级管理员

453

帖子

1378

回复

3110

积分
板凳
发表于 2020-04-27 17:29:55

2、修改 httpd.conf 文件

image.png

image.png

超级管理员

453

帖子

1378

回复

3110

积分
地板
发表于 2020-04-27 17:40:14

3、修改 httpd-vhosts.conf

image.png


#站点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>

超级管理员

453

帖子

1378

回复

3110

积分
4#
发表于 2020-04-27 17:41:24

http://www.plc.com/成功访问:

image.png

超级管理员

453

帖子

1378

回复

3110

积分
5#
发表于 2020-04-27 17:42:02

http://www.iot.com/ 成功访问:

image.png

您需要登录后才可以回帖 登录 | 立即注册

技术支持 KZYPLC V2.1 © 2020-2027

欢迎光临昆山中宇工控PLC论坛!您是第 6568977 位访问者, 日访问量: 20646 总访问量: 16125109,当前 2024-04-29 23:09:14 在线人数:40

ICP备案证书号: 苏ICP备14003016-2号