WDlinux官方论坛's Archiver

我行我素 发表于 2012-1-6 12:26

lamp 怎么配置IPV6?

lamp 怎么配置IPV6?

请求管理员 给予教程材料,谢谢~~~

admin 发表于 2012-1-6 15:16

linux支持ipv6看这里
[url]http://www.wdlinux.cn/bbs/thread-1009-1-1.html[/url]
apache默认应该是支持了ipv6的,你可以测试下

我行我素 发表于 2012-1-11 09:42

我想让某个站点支持IPV6,应该怎么配置/www/wdlinux/apache/conf/vhost/test.conf

我行我素 发表于 2012-1-11 11:07

[b][size=4]IPv6的示例,前提你的有个IPV6的地址[/size][/b]
[b][size=4][/size][/b]
<VirtualHost [[b][color=red]ipv6地址[/color][/b]]>      例子:[1237:78:9:26:0:303:7179:10]
DocumentRoot /www/web/testipv6/public_html
ServerName ipv6.test.com
ServerAlias ipv6.test.com
ErrorDocument 400 /errpage/400.html
ErrorDocument 401 /errpage/401.html
ErrorDocument 403 /errpage/403.html
ErrorDocument 404 /errpage/404.html
ErrorDocument 405 /errpage/405.html
ErrorDocument 500 /errpage/500.html
php_admin_value open_basedir /www/web/testipv6:/tmp
</VirtualHost>
<Directory /www/web/testipv6/public_html>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

我行我素 发表于 2012-1-11 11:18

完美支持IPV6

网站既可以使用IPV4地址访问,也可以用IPV6的地址访问。

如果用IPV6的网络,就自动转向IPV6的地址

如果是IPV4的地址,就直接访问IPV4的地址

我行我素 发表于 2012-1-11 11:23

我发现GOOGLE 真TMD的强大,这个问题搜索了我好几天,竟然在台湾的一个教育网站上找到了,不用再让大家去狂GOOGLE了

我行我素 发表于 2012-1-11 11:44

[attach]194[/attach]

admin 发表于 2012-1-11 11:58

很强大
不过要加两个虚拟主机段就比较麻烦点
理论上,应该不用加两个虚拟主机段,因为加了*号
只需在httpd.conf增加对ipv6的支持就可以
不过我也还没在实际环境中测试过

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.