LPIC LEVEL2-202 コマ問 ErrorDocument? Redirect?
ゲスト
投稿数: 0
●問題
ウェブサイトのURLを変更した。
「古いアドレスhttp://www.test.com/」
へアクセスされた際は、
クライアントにpermanentステータス
を返し、
「http://www.example.com/」
にアクセスさせなおしたい。
httpd.confにはどのように
記述すればよいか?
(ステータスは文字列で指定)
●正答
Redirect permanent / http://www.example.com/
●私の回答
ErrorDocument permanent / http://www.example.com/
======ここから質問=======
私の回答はどうして間違いなのでしょうか?
ウェブサイトのURLを変更した。
「古いアドレスhttp://www.test.com/」
へアクセスされた際は、
クライアントにpermanentステータス
を返し、
「http://www.example.com/」
にアクセスさせなおしたい。
httpd.confにはどのように
記述すればよいか?
(ステータスは文字列で指定)
●正答
Redirect permanent / http://www.example.com/
●私の回答
ErrorDocument permanent / http://www.example.com/
======ここから質問=======
私の回答はどうして間違いなのでしょうか?
投稿ツリー
-
LPIC LEVEL2-202 コマ問 ErrorDocument? Redirect? (ゲスト, 2020-5-14 12:08)
-
Re: LPIC LEVEL2-202 コマ問 ErrorDocument? Redirect? (ゲスト, 2020-5-14 14:54)
-
Re: LPIC LEVEL2-202 コマ問 ErrorDocument? Redirect? (ゲスト, 2020-5-14 15:52)
-