質問編集履歴

4

追記追加

2021/04/05 07:43

投稿

ma2hiro
ma2hiro

スコア159

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  ```htaccess
14
14
 
15
- AuthUserFile /home/public_html/ec2-user/TESTYOU/.htpasswd
15
+ AuthUserFile /home/ec2-user/public_html/TESTYOU/.htpasswd
16
16
 
17
17
  AuthGroupFile /dev/null
18
18
 
@@ -76,7 +76,7 @@
76
76
 
77
77
  ```
78
78
 
79
- [Mon Apr 05 06:34:09.805159 2021] [authn_file:error] [pid 9531] (2)No such file or directory: [client 111.234.222.111:2236] AH01620: Could not open password file: /home/public_html/ec2-user/TESTYOU/.htpasswd
79
+ [Mon Apr 05 06:34:09.805159 2021] [authn_file:error] [pid 9531] (2)No such file or directory: [client 111.234.222.111:2236] AH01620: Could not open password file: /home/ec2-user/public_html/TESTYOU/.htpasswd
80
80
 
81
81
  ```
82
82
 

3

文言修正

2021/04/05 07:42

投稿

ma2hiro
ma2hiro

スコア159

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
  それから.htpasswdを
30
30
 
31
- $ htpasswd -b -c /home/ec2-user/public_html/hirochinYOU/.htpasswd hogehoge fugafuga
31
+ $ htpasswd -b -c /home/ec2-user/public_html/TESTYOU/.htpasswd hogehoge fugafuga
32
32
 
33
33
 
34
34
 

2

文言修正

2021/04/05 07:07

投稿

ma2hiro
ma2hiro

スコア159

test CHANGED
File without changes
test CHANGED
@@ -72,7 +72,7 @@
72
72
 
73
73
 
74
74
 
75
- # tail /var/log/httpd/error_log を見てみると
75
+ tail /var/log/httpd/error_log を見てみると
76
76
 
77
77
  ```
78
78
 

1

文言修正

2021/04/05 07:05

投稿

ma2hiro
ma2hiro

スコア159

test CHANGED
File without changes
test CHANGED
@@ -76,7 +76,7 @@
76
76
 
77
77
  ```
78
78
 
79
- [Mon Apr 05 06:34:09.805159 2021] [authn_file:error] [pid 9531] (2)No such file or directory: [client 118.238.220.110:2236] AH01620: Could not open password file: /home/public_html/ec2-user/TESTYOU/.htpasswd
79
+ [Mon Apr 05 06:34:09.805159 2021] [authn_file:error] [pid 9531] (2)No such file or directory: [client 111.234.222.111:2236] AH01620: Could not open password file: /home/public_html/ec2-user/TESTYOU/.htpasswd
80
80
 
81
81
  ```
82
82
 
@@ -86,7 +86,7 @@
86
86
 
87
87
 
88
88
 
89
- [ec2-user@ip-172-31-6-202 hirochinYOU]$ ls -la
89
+ [ec2-user@ip-172-31-6-202 TESTYOU]$ ls -la
90
90
 
91
91
  total 24
92
92