たとえば、ドメインがあります
http://example.com
および別のドメイン
http://reallylargerdomain name.com
誰かがhttp://example.com/projectsにアクセスする場合、サーバーは他のURLからデータをプロキシする必要があります。このために私は次の.htaccessファイルを作成しました
Rewrite on
RewriteRule ^projects/$ http://reallylargedomainname.com [P]
これは機能していませんが、フォローするように変更すると機能します
Rewrite on
RewriteRule ^projects/$ http://reallylargedomainname.com [R=301,L]
何が悪いのか分かりますか?