在Apache配置文件conf/vhosts.conf文件中添加下面代码:
<VirtualHost 192.168.1.112>
DirectoryIndex index.html index.php
ServerName www.ssos.com
DocumentRoot "D:\PHPGongJu\myphp_www\PHPTutorial\WWW\laykefu-master\public"
</VirtualHost>
在Apache配置文件conf/vhosts.conf文件中添加下面代码:
<VirtualHost 192.168.1.112>
DirectoryIndex index.html index.php
ServerName www.ssos.com
DocumentRoot "D:\PHPGongJu\myphp_www\PHPTutorial\WWW\laykefu-master\public"
</VirtualHost>