1、修改/etc/apache路径下的ports.conf文件,添加监听8101和8102端口

2、修改/etc/apache/sites-avaible路径下的000-defaul.conf文件,把相应路径映射到端口上

3、重启apache服务
/etc/init.d/apache2 restart
1、修改/etc/apache路径下的ports.conf文件,添加监听8101和8102端口
2、修改/etc/apache/sites-avaible路径下的000-defaul.conf文件,把相应路径映射到端口上
3、重启apache服务
/etc/init.d/apache2 restart
本文标题:Apache 开启多端口并把相应路径映射到相应端口
本文链接:https://www.haomeiwen.com/subject/hlxhohtx.html
网友评论