我有2个座标:thinkingmonkey.me
和thinkingmonkey.com
。 双方都有72.0.1(A.K.A局)。
我想将任何要求转至<代码>thinkingmonkey.com至thinkingmonkey.me
。
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /mysite
ServerName thinkingmonkey.me
ServerAlias www.thinkingmonkey.me
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
Options -Indexes +FollowSymLinks
RewriteEngine On
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName thinkingmonkey.com
Redirect thinkingmonkey.com http://thinkingmonkey.me/
# Redirect / http://thinkingmonkey.me/ #have even tried this
ServerAlias www.thinkingmonkey.com
RewriteEngine on
</VirtualHost>
当我试图查阅<代码>thinkingmonkey.com时。 url没有改用thinkingmonkey.me
。 纸面地址的斜体为thinkingmonkey.com
。
我做了什么错误?