配置apache\conf\httpd-vhosts.conf(http网站)和apache\conf\httpd-ssl.conf(https网站)
找到Listen 80或Listen 443,下面添加一个监听端口Listen 81或Listen 4433,
这样就可以浏览 http://localhost:81/ 或 https://localhost:4433/ 了。
具体不同网站配置通过
- 本文固定链接: https://www.fengshen.cn/2022/01/apache配置多个端口给不同网站/storyofwind/
- 转载请注明: fengshen 发表于 Dream of Wind | 一梦风神
觉得文章有用,微信打赏一元。
