LAMP多项目对应多端口配置

1. /etc/apache/sites-available/000-default.conf中

复制'<Virtual Host *:[端口号]></Virtual>',修改其中的端口号和项目地址

2. /etc/apache/apache.conf 中

增加'Listen [端口号]'

3.重启Apache

#service apache restart

posted @ 2017-02-24 17:26  一只小鬼  阅读(1043)  评论(0编辑  收藏  举报