摘要:
1.apache配置文件中打开vhost的配置LoadModule vhost_alias_module modules/mod_vhost_alias.soInclude conf/extra/httpd-vhosts.conf2.extra目录中的httpd-vhosts.conf里面进行配置,有三个:第一个DocumentRoot,项目的绝对目录,后面以/结尾;第二个是ServerPath,与DocumentRoot一致;第三个是ServerName,自己在浏览器中输入的域名。如:test.123.cn3.在hosts文件中位域名指向。如:127.0.0.1 test.123.cn 阅读全文
posted @ 2013-04-12 13:34
幻星宇
阅读(163)
评论(0)
推荐(0)

浙公网安备 33010602011771号