编辑apache的配置文件，启用虚拟主机vi /usr/local/apache/conf/httpd.conf找到Include conf/extra/httpd-vhosts.conf把开头...