开发者

redirect x.com to y.com

开发者 https://www.devze.com 2023-01-22 13:23 出处:网络
How do I redirect x.com to y.com, when someone types in x.com or anything x.com 开发者_Python百科Thanks

How do I redirect x.com to y.com, when someone types in x.com or anything x.com

开发者_Python百科Thanks Jean


In your apache hosts configuration:

<VirtualHost *:80>
    ServerName y.com *.y.com
    Redirect permanent / http://x.com/
</VirtualHost>
0

精彩评论

暂无评论...
验证码 换一张
取 消