0

我在不同的提供商上有域和空间。我有domain1.com,当用户在浏览器中键入时,他们应该被重定向到domain2.com/somefolder

domain2.com 托管在我可以完全控制 .htaccess 文件的服务器上。所以请向我提供要对domain2.com/somefolder的.htaccess 文件进行的更改

我试过了

Options +FollowSymlinks
Options All -Indexes
Options Indexes Includes FollowSymLinks ExecCGI
RewriteEngine on
RewriteRule ^&urlink=(.*) http://$1 [P]

但它不起作用。

4

0 回答 0