質問編集履歴

12

追記

2021/03/17 10:15

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -266,6 +266,14 @@
266
266
 
267
267
 
268
268
 
269
+ ### 追記⑧
270
+
271
+ http://hotpepper.programing-independence.com
272
+
273
+ ![イメージ説明](6906689960d1c60f79262fb64ace375b.png)
274
+
275
+
276
+
269
277
  ---
270
278
 
271
279
  具体的な正解が分かる方、

11

追記

2021/03/17 10:15

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -256,6 +256,16 @@
256
256
 
257
257
 
258
258
 
259
+ ### 追記⑦
260
+
261
+ この404エラーはエックスサーバーのエラーログには載っていなかった。
262
+
263
+ 404エラーが出るように設定し直してもエックスサーバーのエラーログには出て来なかった。
264
+
265
+ だからlaravelが出しているのかもしれない
266
+
267
+
268
+
259
269
  ---
260
270
 
261
271
  具体的な正解が分かる方、

10

追記

2021/03/17 09:47

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -248,9 +248,11 @@
248
248
 
249
249
  -rw-r--r-- 1 xs757184 members 1183 3月 12 22:08 web.config
250
250
 
251
-
252
-
253
- ```
251
+ ```
252
+
253
+ ### 追記⑥
254
+
255
+ index.htmlを削除したら上記に書いてある通りに404エラーになる
254
256
 
255
257
 
256
258
 

9

追記

2021/03/16 21:58

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -218,73 +218,37 @@
218
218
 
219
219
  ls -al ~/ドメイン名/public_html/hotpepper/
220
220
 
221
+
222
+
221
- 上記のコマンドをもう一度実行した結果
223
+ 上記のコマンドを実行した結果
222
-
223
-
224
-
224
+
225
+
226
+
225
- ```ここに言語を入力
227
+ ```ここに言語を入力
226
-
228
+
227
- 合計 248
229
+ 合計 20
228
-
230
+
229
- drwx--x--x 9 xs757184 members 4096 3月 16 20:52 .
231
+ drwxr-xr-x 4 xs757184 members 171 3月 16 22:59 .
230
-
232
+
231
- drwx--x--x 11 xs757184 members 198 3月 16 07:25 ..
233
+ drwxrwxrwx 13 xs757184 members 4096 3月 15 23:02 ..
232
-
234
+
233
- -rw-r--r-- 1 xs757184 members 737 23 06:44 .htaccess
235
+ -rw-r--r-- 1 xs757184 members 603 312 22:08 .htaccess
234
-
235
- -rw------- 4 xs757184 members 3878 5月 13 2020 .user.ini
236
+
236
-
237
- drwx---r-x 7 xs757184 members 154 11月 12 11:14 PHP
237
+ drwxr-xr-x 2 xs757184 members 61 3月 12 22:08 css
238
+
238
-
239
+ -rw-r--r-- 1 xs757184 members 0 3月 12 22:08 favicon.ico
240
+
239
- drwx---r-x 3 xs757184 members 47 2 8 19:58 Shared
241
+ drwxr-xr-x 2 xs757184 members 83 3月 12 22:08 img
240
-
242
+
241
- -rw-r--r-- 1 xs757184 members 6633 5月 13 2020 default_page.png
243
+ -rw-r--r-- 1 xs757184 members 0 3月 16 22:59 index.html
242
-
243
- lrwxrwxrwx 1 xs757184 members 65 3月 16 20:52 hotpepper -> /home/キー/ドメイン名/massage-project/public
244
+
244
-
245
- -rw-r--r-- 1 xs757184 members 405 4 1 2020 index.php
245
+ -rw-r--r-- 1 xs757184 members 1731 3月 12 22:08 index.php
246
-
247
- drwx--x--x 2 xs757184 members 4096 11月 13 11:22 jibunquest-lp
246
+
248
-
249
- -rw-r--r-- 1 xs757184 members 19915 2 23 12:35 license.txt
247
+ -rw-r--r-- 1 xs757184 members 24 3 12 22:08 robots.txt
250
-
251
- drwx--x--x 2 xs757184 members 304 11月 2 12:39 memo
248
+
252
-
253
- -rw-r--r-- 1 xs757184 members 10089 2月 23 12:35 readme.html
249
+ -rw-r--r-- 1 xs757184 members 1183 312 22:08 web.config
254
-
255
- -rw-r--r-- 1 xs757184 members 7101 2月 3 06:44 wp-activate.php
250
+
256
-
257
- drwxr-xr-x 9 xs757184 members 4096 2月 3 06:44 wp-admin
251
+
258
-
259
- -rw-r--r-- 1 xs757184 members 351 4月 1 2020 wp-blog-header.php
260
-
261
- -rw-r--r-- 1 xs757184 members 2328 2月 3 06:44 wp-comments-post.php
262
-
263
- -rw-r--r-- 1 xs757184 members 3931 4月 1 2020 wp-config-sample.php
264
-
265
- -rw------- 1 xs757184 members 4233 8月 5 2020 wp-config.php
266
-
267
- drwxr-xr-x 7 xs757184 members 127 3月 11 12:04 wp-content
268
-
269
- -rw-r--r-- 1 xs757184 members 3939 2月 3 06:44 wp-cron.php
270
-
271
- drwxr-xr-x 25 xs757184 members 8192 2月 3 06:44 wp-includes
272
-
273
- -rw-r--r-- 1 xs757184 members 2496 4月 1 2020 wp-links-opml.php
274
-
275
- -rw-r--r-- 1 xs757184 members 3300 4月 1 2020 wp-load.php
276
-
277
- -rw-r--r-- 1 xs757184 members 49831 2月 3 06:44 wp-login.php
278
-
279
- -rw-r--r-- 1 xs757184 members 8509 5月 14 2020 wp-mail.php
280
-
281
- -rw-r--r-- 1 xs757184 members 20975 2月 3 06:44 wp-settings.php
282
-
283
- -rw-r--r-- 1 xs757184 members 31337 2月 3 06:44 wp-signup.php
284
-
285
- -rw-r--r-- 1 xs757184 members 4747 2月 3 06:44 wp-trackback.php
286
-
287
- -rw-r--r-- 1 xs757184 members 3236 2月 3 06:44 xmlrpc.php
288
252
 
289
253
  ```
290
254
 

8

追記

2021/03/16 14:00

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -202,6 +202,92 @@
202
202
 
203
203
 
204
204
 
205
+ ### 追記⑤
206
+
207
+ hotpepperディレクトリ内のindex.htmlが表示されていた。
208
+
209
+ inde.htmlを削除したら真っ白だった画面が404 not foundに変わった。
210
+
211
+ 真っ白の時も、404のと時もエックスサーバーのエラーログは何もなかった。
212
+
213
+ ローカルでは今も通常通りに動いている。
214
+
215
+
216
+
217
+
218
+
219
+ ls -al ~/ドメイン名/public_html/hotpepper/
220
+
221
+ 上記のコマンドをもう一度実行した結果
222
+
223
+
224
+
225
+ ```ここに言語を入力
226
+
227
+ 合計 248
228
+
229
+ drwx--x--x 9 xs757184 members 4096 3月 16 20:52 .
230
+
231
+ drwx--x--x 11 xs757184 members 198 3月 16 07:25 ..
232
+
233
+ -rw-r--r-- 1 xs757184 members 737 2月 3 06:44 .htaccess
234
+
235
+ -rw------- 4 xs757184 members 3878 5月 13 2020 .user.ini
236
+
237
+ drwx---r-x 7 xs757184 members 154 11月 12 11:14 PHP
238
+
239
+ drwx---r-x 3 xs757184 members 47 2月 8 19:58 Shared
240
+
241
+ -rw-r--r-- 1 xs757184 members 6633 5月 13 2020 default_page.png
242
+
243
+ lrwxrwxrwx 1 xs757184 members 65 3月 16 20:52 hotpepper -> /home/キー/ドメイン名/massage-project/public
244
+
245
+ -rw-r--r-- 1 xs757184 members 405 4月 1 2020 index.php
246
+
247
+ drwx--x--x 2 xs757184 members 4096 11月 13 11:22 jibunquest-lp
248
+
249
+ -rw-r--r-- 1 xs757184 members 19915 2月 23 12:35 license.txt
250
+
251
+ drwx--x--x 2 xs757184 members 304 11月 2 12:39 memo
252
+
253
+ -rw-r--r-- 1 xs757184 members 10089 2月 23 12:35 readme.html
254
+
255
+ -rw-r--r-- 1 xs757184 members 7101 2月 3 06:44 wp-activate.php
256
+
257
+ drwxr-xr-x 9 xs757184 members 4096 2月 3 06:44 wp-admin
258
+
259
+ -rw-r--r-- 1 xs757184 members 351 4月 1 2020 wp-blog-header.php
260
+
261
+ -rw-r--r-- 1 xs757184 members 2328 2月 3 06:44 wp-comments-post.php
262
+
263
+ -rw-r--r-- 1 xs757184 members 3931 4月 1 2020 wp-config-sample.php
264
+
265
+ -rw------- 1 xs757184 members 4233 8月 5 2020 wp-config.php
266
+
267
+ drwxr-xr-x 7 xs757184 members 127 3月 11 12:04 wp-content
268
+
269
+ -rw-r--r-- 1 xs757184 members 3939 2月 3 06:44 wp-cron.php
270
+
271
+ drwxr-xr-x 25 xs757184 members 8192 2月 3 06:44 wp-includes
272
+
273
+ -rw-r--r-- 1 xs757184 members 2496 4月 1 2020 wp-links-opml.php
274
+
275
+ -rw-r--r-- 1 xs757184 members 3300 4月 1 2020 wp-load.php
276
+
277
+ -rw-r--r-- 1 xs757184 members 49831 2月 3 06:44 wp-login.php
278
+
279
+ -rw-r--r-- 1 xs757184 members 8509 5月 14 2020 wp-mail.php
280
+
281
+ -rw-r--r-- 1 xs757184 members 20975 2月 3 06:44 wp-settings.php
282
+
283
+ -rw-r--r-- 1 xs757184 members 31337 2月 3 06:44 wp-signup.php
284
+
285
+ -rw-r--r-- 1 xs757184 members 4747 2月 3 06:44 wp-trackback.php
286
+
287
+ -rw-r--r-- 1 xs757184 members 3236 2月 3 06:44 xmlrpc.php
288
+
289
+ ```
290
+
205
291
 
206
292
 
207
293
  ---

7

追記

2021/03/16 13:16

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -184,14 +184,28 @@
184
184
 
185
185
 
186
186
 
187
-
188
-
189
-
190
-
191
-
192
-
193
187
  ---
194
188
 
189
+ ### 追記④
190
+
191
+ ls -al ~/ドメイン名/public_html/ を実行した結果
192
+
193
+ ```ここに言語を入力
194
+
195
+ hotpepper -> /home/キー/ドメイン名/massage-project/public
196
+
197
+ ```
198
+
199
+ 正しくシンボリックリンクは作成できていると思うのだけれど、意図した画面が表示されない。。
200
+
201
+ どうしてだろう?
202
+
203
+
204
+
205
+
206
+
207
+ ---
208
+
195
209
  具体的な正解が分かる方、
196
210
 
197
211
  よろしくお願い致します!

6

追記

2021/03/16 12:38

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -140,6 +140,54 @@
140
140
 
141
141
  ```
142
142
 
143
+ ### 追記③
144
+
145
+ 間違っているシンボリックリンクを削除します。
146
+
147
+ ```ここに言語を入力
148
+
149
+ cd ~/ドメイン名/public_html/hotpepper/
150
+
151
+ rm ./public
152
+
153
+ ```
154
+
155
+ サブドメインのディレクトリを改名して適当なところへ退避しておきます。
156
+
157
+ ```ここに言語を入力
158
+
159
+ mv ~/ドメイン名/public_html/hotpepper ~/hotpepper.bak
160
+
161
+ ```
162
+
163
+ ~/ドメイン名/public_html/の下にサブドメインのディレクトリが無いことを確認したら、サブドメインのディレクトリと同じ名前でシンボリックリンクを作成します。
164
+
165
+ ```ここに言語を入力
166
+
167
+ ln -s ~/ドメイン名/massage-project/public ~/ドメイン名/public_html/hotpepper
168
+
169
+ ```
170
+
171
+
172
+
173
+ 上記で、シンボリックリンクは貼れたと思う。
174
+
175
+ しかし、まだ真っ白。
176
+
177
+ index.htmlのではないかと予想。
178
+
179
+ エックスサーバーのエラーログにはひっかかっていないことを確認。
180
+
181
+ でも、laravelのアプリはまだ表示されていない。
182
+
183
+ 何が原因んだろう?
184
+
185
+
186
+
187
+
188
+
189
+
190
+
143
191
 
144
192
 
145
193
  ---

5

追記

2021/03/16 12:06

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -94,7 +94,55 @@
94
94
 
95
95
 
96
96
 
97
+ ---
97
98
 
99
+ 追記②
100
+
101
+ ### ls -al ~/ドメイン名/public_html/hotpepper
102
+
103
+ 上記コマンドの実行結果
104
+
105
+
106
+
107
+ ```ここに言語を入力
108
+
109
+ 合計 8
110
+
111
+ drwx--x--x 2 xs757184 members 71 3月 16 07:50 .
112
+
113
+ drwx--x--x 10 xs757184 members 4096 3月 16 12:30 ..
114
+
115
+ -rw------- 4 xs757184 members 3878 5月 13 2020 .user.ini
116
+
117
+ -rw-r--r-- 1 xs757184 members 0 3月 16 07:50 index.html
118
+
119
+ lrwxrwxrwx 1 xs757184 members 65 3月 16 07:32 public -> /home/キー名/ドメイン名/massage-project/public
120
+
121
+ ```
122
+
123
+
124
+
125
+ ### ls -al ~/ドメイン名/public_html/hotpepper/
126
+
127
+ ```ここに言語を入力
128
+
129
+ 合計 8
130
+
131
+ drwx--x--x 2 xs757184 members 71 3月 16 07:50 .
132
+
133
+ drwx--x--x 10 xs757184 members 4096 3月 16 12:30 ..
134
+
135
+ -rw------- 4 xs757184 members 3878 5月 13 2020 .user.ini
136
+
137
+ -rw-r--r-- 1 xs757184 members 0 3月 16 07:50 index.html
138
+
139
+ lrwxrwxrwx 1 xs757184 members 65 3月 16 07:32 public -> /home/キー名/ドメイン名/massage-project/public
140
+
141
+ ```
142
+
143
+
144
+
145
+ ---
98
146
 
99
147
  具体的な正解が分かる方、
100
148
 

4

追記

2021/03/16 11:08

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -52,31 +52,45 @@
52
52
 
53
53
 
54
54
 
55
- 以下のコマドを打
55
+ ボリックリンクは繋がた!
56
56
 
57
-
57
+ しかし、403エラーが出た。
58
58
 
59
59
 
60
60
 
61
61
  ```ここに言語を入力
62
62
 
63
- ln -s ~/programing-independence.com/massage-project/public ~/programing-independence.com/public_html/public/hotpepper.programing-independence.com
63
+ アクセスが許可されていない(パーミッション等によって禁止されている)。
64
+
65
+ デフォルトドキュメント(index.html, index.htm 等)が存在しない。
66
+
67
+ ```
68
+
69
+ この時のエックスサーバーのエラーログ
70
+
71
+ ```ここに言語を入力
72
+
73
+ [Tue Mar 16 07:34:15.272174 2021] [core:error] [pid 40206:tid 140015963059968] [client 153.219.146.226:39376] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://hotpepper.programing-independence.com/
74
+
75
+
64
76
 
65
77
  ```
66
78
 
67
79
 
68
80
 
81
+ なので、ディレクトリにchmod 777で権限を与えた。
82
+
83
+ hotpepperディレクトリにindex.htmlを作った。
84
+
85
+ ただ、まっさらなindex.htmlが反映された。
86
+
87
+ シンボリックリンクが無効なのか?と思った。
69
88
 
70
89
 
71
- エラー文↓
72
90
 
73
- ```
91
+ これはシンボリックリンクが意図したところに通っていないのでしょうか?
74
92
 
75
- ln: シンボリックリンク `/home/秘密鍵ナンバー/programing-independence.com/public_html/public/hotpepper.programing-independence.com' 作成に失敗ました: そのよなファイルやディレクトリはありません
93
+ どのようにすればlaravelのアプリが表示されるでか?
76
-
77
- ```
78
-
79
-
80
94
 
81
95
 
82
96
 

3

スクリーンショット削除

2021/03/15 22:45

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -78,10 +78,6 @@
78
78
 
79
79
 
80
80
 
81
- **サイバーダック内のスクリーンショット**
82
-
83
- ![サイバーダック](8c8fe4dde0fee1c02302c6659a3b43fe.png)
84
-
85
81
 
86
82
 
87
83
 

2

エラー文を追記

2021/03/14 02:55

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -68,6 +68,8 @@
68
68
 
69
69
 
70
70
 
71
+ エラー文↓
72
+
71
73
  ```
72
74
 
73
75
  ln: シンボリックリンク `/home/秘密鍵ナンバー/programing-independence.com/public_html/public/hotpepper.programing-independence.com' の作成に失敗しました: そのようなファイルやディレクトリはありません

1

シンボリックリンクの詳細を追記

2021/03/14 02:35

投稿

Ichiro08
Ichiro08

スコア8

test CHANGED
File without changes
test CHANGED
@@ -48,6 +48,42 @@
48
48
 
49
49
 
50
50
 
51
+ ### 追記
52
+
53
+
54
+
55
+ 以下のコマンドを打って
56
+
57
+
58
+
59
+
60
+
61
+ ```ここに言語を入力
62
+
63
+ ln -s ~/programing-independence.com/massage-project/public ~/programing-independence.com/public_html/public/hotpepper.programing-independence.com
64
+
65
+ ```
66
+
67
+
68
+
69
+
70
+
71
+ ```
72
+
73
+ ln: シンボリックリンク `/home/秘密鍵ナンバー/programing-independence.com/public_html/public/hotpepper.programing-independence.com' の作成に失敗しました: そのようなファイルやディレクトリはありません
74
+
75
+ ```
76
+
77
+
78
+
79
+ **サイバーダック内のスクリーンショット**
80
+
81
+ ![サイバーダック](8c8fe4dde0fee1c02302c6659a3b43fe.png)
82
+
83
+
84
+
85
+
86
+
51
87
  具体的な正解が分かる方、
52
88
 
53
89
  よろしくお願い致します!