APACHE 2.2 快速配置虚拟主机

来源:互联网 发布:系统网络连接未准备好 编辑:程序博客网 时间:2024/06/11 18:55

配置版本:APACHE 2.2.15

操作系统:WINDOWS XP

安装 APACHE 以后,找到配置文件,一般是 APACHE 目录/conf/httpd.conf,找到以下指令行:

# Virtual hosts
# Include conf/extra/httpd-vhosts.conf

把 # Include conf/extra/httpd-vhosts.conf 的 # 号删除掉,然后修改 APACHE 目录/conf/extra/httpd-vhosts.conf 文件,根据具体情况修改虚拟主机的配置,重启 APACHE 即可。

原创粉丝点击