echo ""; echo ""; echo ""; echo ""; if(!is_admin){echo "";} » 慎用域名注册商提供的URL转发功能 仲子说

2008-05-14

慎用域名注册商提供的URL转发功能

Posted in Apache, FreeBSD/Unix服务器 at 20:16 Author:仲远

标签:

?????????????????????????????????????url???????url?????url??????????????url????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

????????????????url???????????302?????????????????????302?????????????????????????????????????????Google???????302??????????????????????????sina.com?????302??????????????????????????????????????

????????????????????????????????????301??????????????Google??????????????????????????????????????????Apache??????

1???????????????????????????????????????Apache???Apache??Mod_rewrite???

2????????Apache?????httpd.conf??
<VirtualHost *:80>
ServerName www.zhy1.com
ServerAlias zhy1.com *.zhy1.com

rewriteengine on
rewriterule ^/(.*)$ http://www.wangzhongyuan.com/$1 [r=301,L]
</VirtualHost>

3???Apache??????

?????Apache?????IIS????Web?????????301???????????????????????301??????????????????????????

????????????????????????????
?????http://www.wangzhongyuan.com/archives/370.html 

本文可以自由转载,转载时请保留全文并注明出处:
转载自仲子说 [ http://www.wangzhongyuan.com/ ]
原文链接:

Leave a Comment

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word