在windows 7建立ipv6 web服务站点

上一篇 / 下一篇  2013-04-24 15:30:42 / 个人分类:软件测试

需要的软件
:o"ftJ5@8z v#y01.apache_2.2.9-win32-x86-no_ssl-r2.msi51Testing软件测试网V#^P)z7G#L@J(lA
2.httpd-2.2.16-win32-ipv6.zip51Testing软件测试网0P/wy!FkG,J6Y
3.vcredist_x86.exe 2010版本的vc运行时库

/h-Z.[F(nE:M sCl0步骤:51Testing软件测试网 jU3D/b t]|aS5o
1.准备一个windows 7 32位的虚拟机51Testing软件测试网uQ@0C'~ l Nv0G
2.安装apache_2.2.9-win32-x86-no_ssl-r2.msi,默认安装。安装完成后,停止服务
L`6TI:~J#YxI03.解压httpd-2.2.16-win32-ipv6.zip,把解压的文件覆盖apache目录的文件。除了httpd.conf
}w-L9n?Xic04.修改原apache的httpd.conf文件,如
(h%VI-qiW eSr0# Listen: Allows you to bind Apache to specific IP addresses and/or
^OoC-s:Q0# ports, instead of the default. See also the <VirtualHost>
:Ev8N:dB.eC ?0# directive.51Testing软件测试网 I dFbK.OV
#51Testing软件测试网/Q2n0JfM!nK!R{G
# Change this to Listen on specific IP addresses as shown below to51Testing软件测试网PY'`"h7W D{8D
# prevent Apache from glomming onto all bound IP addresses.51Testing软件测试网,x.G{ w Iq7[;V,Q
#51Testing软件测试网d2Cwt/L
#Listen 12.34.56.78:8051Testing软件测试网Va u|1F EM
#Listen 80
2uWwB2\(YU;Wh^0 Listen [::]:8051Testing软件测试网\#I-yAD/x
 Listen 192.168.29.81:8051Testing软件测试网b%G@&fo](beoi
 
d0yn/R u`,B0F0#
CfX)Q"T5e b0# Dynamic Shared Object (DSO) Support
5.安装vcredist_x86.exe51Testing软件测试网(hC&IV9^H
6.启动apache服务
(U{0MZ7B07.在cmd里ipconfig 查询本机的ipv6地址
8.在ie或下载个firefox地址栏。如我输入我的ipv6地址http://[2001:db80:1000:2000:6192:fe7a:3d93:d595]/即可查看到返回,It works!
 
 
另:IIS6本身就支持IPV6 web服务。
IIS6架IPV6 web服务步骤
1.创建一个web服务,与IPV4一样,但ip和端口不设置
2.只能在本网段机器,可能通过ie或firefox访问。

TAG:

 

评分:0

我来说两句

Open Toolbar