0

リダイレクト エラーが発生Firefox has detected that the server is redirecting the request for this address in a way that will never complete.します。.htaccess ファイル内に次の内容があります。

RewriteEngine on
RewriteBase /

RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}/test/ [L,R]

ロードしたとき、http://www.mysite.comまたは次のhttps://www.mysite.com場所にリダイレクトされたとき:

https://www.mysite.com/test//test//test//test//test//test/......

RewriteCondhttps がオンであると認識せず、その書き換えルールを継続的にロードしているようです。

https が設定されている場合、この条件が失敗しないのはなぜですか?

4

1 に答える 1