您好,欢迎访问一九零五行业门户网

www.sony.com.cn/productclub wamp 配置虚拟主机

1、首先打开apache的配置文件httpd.conf,并去掉#include conf/extra/httpd-vhosts.conf前面的#,启用虚拟主机功能
2、先把localhost配置好,免得以后访问localhost出现问题,我的wamp项目根目录是d:\wamp\www。将下面信息添加到apache的apache/conf/extra下的配置文件httpd-vhosts.conf后面即可;
documentroot d:/wamp/www
        servername www.xxxxxxxx.com
options indexes followsymlinks
            allowoverride none
            order allow,deny
            allow from all
3、修改c:\windows\system32\drivers\etc下的host文件,用记事本打开,最后一行添加 127.0.0.1       www.xxxxxxxx.com  ,重启apache即可。 以上就介绍了www.sony.com.cn/productclub wamp 配置虚拟主机,包括了www.sony.com.cn/productclub方面的内容,希望对php教程有兴趣的朋友有所帮助。
其它类似信息

推荐信息