在wamp-bin-apache-conf-extra->httpd-vhosts.conf里添加两个站点,指定DocumentRoot到文件夹和ServerName(域名)

apache默认不包含,则需要在httpd.conf中找到Virtual hosts下去除#

允许其它地址访问:打开apache->httpd.conf找到Directory修改里面的Deny from all为Allow from all。重启生效

windows-system32-drivers-etc->hosts里添加两个站点

相关文章:

  • 2021-06-09
  • 2021-12-15
  • 2021-05-31
  • 2022-01-07
  • 2021-07-19
猜你喜欢
  • 2021-11-18
  • 2021-08-28
  • 2021-07-07
  • 2021-11-17
  • 2021-05-01
  • 2021-10-11
  • 2021-07-28
相关资源
相似解决方案