回答編集履歴

1

回答修正:goki

2017/02/08 01:52

投稿

Y.H.
Y.H.

スコア7914

test CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- httpsでのアクセスでかつFQDNがwww.exapmle.comの場合以下へリダイレクト
5
+ httpsでのアクセスでかつFQDNがwww.example.comの場合以下へリダイレクト
6
6
 
7
- https://exapmle.com%{REQUEST_URI}
7
+ https://example.com%{REQUEST_URI}
8
8
 
9
9
 
10
10
 
11
11
  httpでのアクセスの場合以下へリダイレクト
12
12
 
13
- https://exapmle.com%{REQUEST_URI}
13
+ https://example.com%{REQUEST_URI}
14
14
 
15
15
 
16
16
 
@@ -20,12 +20,14 @@
20
20
 
21
21
  RewriteCond %{HTTPS} on
22
22
 
23
- RewriteCond %{HTTP_HOST} ^www.exapmle.com$
23
+ RewriteCond %{HTTP_HOST} ^www.example.com$
24
24
 
25
- RewriteRule ^(.*)$ https://exapmle.com%{REQUEST_URI} [R=301,L]
25
+ RewriteRule ^(.*)$ https://example.com%{REQUEST_URI} [R=301,L]
26
26
 
27
27
  RewriteCond %{HTTPS} off
28
28
 
29
- RewriteRule ^(.*)$ https://exapmle.com%{REQUEST_URI} [R=301,L]
29
+ RewriteRule ^(.*)$ https://example.com%{REQUEST_URI} [R=301,L]
30
30
 
31
31
  ```
32
+
33
+