質問編集履歴
12
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -132,6 +132,10 @@
|
|
132
132
|
404エラーが出るように設定し直してもエックスサーバーのエラーログには出て来なかった。
|
133
133
|
だからlaravelが出しているのかもしれない
|
134
134
|
|
135
|
+
### 追記⑧
|
136
|
+
http://hotpepper.programing-independence.com
|
137
|
+

|
138
|
+
|
135
139
|
---
|
136
140
|
具体的な正解が分かる方、
|
137
141
|
よろしくお願い致します!
|
11
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -127,6 +127,11 @@
|
|
127
127
|
### 追記⑥
|
128
128
|
index.htmlを削除したら上記に書いてある通りに404エラーになる
|
129
129
|
|
130
|
+
### 追記⑦
|
131
|
+
この404エラーはエックスサーバーのエラーログには載っていなかった。
|
132
|
+
404エラーが出るように設定し直してもエックスサーバーのエラーログには出て来なかった。
|
133
|
+
だからlaravelが出しているのかもしれない
|
134
|
+
|
130
135
|
---
|
131
136
|
具体的な正解が分かる方、
|
132
137
|
よろしくお願い致します!
|
10
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -123,8 +123,9 @@
|
|
123
123
|
-rw-r--r-- 1 xs757184 members 1731 3月 12 22:08 index.php
|
124
124
|
-rw-r--r-- 1 xs757184 members 24 3月 12 22:08 robots.txt
|
125
125
|
-rw-r--r-- 1 xs757184 members 1183 3月 12 22:08 web.config
|
126
|
-
|
127
126
|
```
|
127
|
+
### 追記⑥
|
128
|
+
index.htmlを削除したら上記に書いてある通りに404エラーになる
|
128
129
|
|
129
130
|
---
|
130
131
|
具体的な正解が分かる方、
|
9
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -108,40 +108,22 @@
|
|
108
108
|
|
109
109
|
|
110
110
|
ls -al ~/ドメイン名/public_html/hotpepper/
|
111
|
-
上記のコマンドをもう一度実行した結果
|
112
111
|
|
112
|
+
上記のコマンドを実行した結果
|
113
|
+
|
113
114
|
```ここに言語を入力
|
114
|
-
合計
|
115
|
+
合計 20
|
115
|
-
|
116
|
+
drwxr-xr-x 4 xs757184 members 171 3月 16 22:59 .
|
116
|
-
|
117
|
+
drwxrwxrwx 13 xs757184 members 4096 3月 15 23:02 ..
|
117
|
-
-rw-r--r-- 1 xs757184 members
|
118
|
+
-rw-r--r-- 1 xs757184 members 603 3月 12 22:08 .htaccess
|
118
|
-
-rw------- 4 xs757184 members 3878 5月 13 2020 .user.ini
|
119
|
-
|
119
|
+
drwxr-xr-x 2 xs757184 members 61 3月 12 22:08 css
|
120
|
+
-rw-r--r-- 1 xs757184 members 0 3月 12 22:08 favicon.ico
|
120
|
-
|
121
|
+
drwxr-xr-x 2 xs757184 members 83 3月 12 22:08 img
|
121
|
-
-rw-r--r-- 1 xs757184 members
|
122
|
+
-rw-r--r-- 1 xs757184 members 0 3月 16 22:59 index.html
|
122
|
-
lrwxrwxrwx 1 xs757184 members 65 3月 16 20:52 hotpepper -> /home/キー/ドメイン名/massage-project/public
|
123
|
-
-rw-r--r-- 1 xs757184 members
|
123
|
+
-rw-r--r-- 1 xs757184 members 1731 3月 12 22:08 index.php
|
124
|
-
drwx--x--x 2 xs757184 members 4096 11月 13 11:22 jibunquest-lp
|
125
|
-
-rw-r--r-- 1 xs757184 members
|
124
|
+
-rw-r--r-- 1 xs757184 members 24 3月 12 22:08 robots.txt
|
126
|
-
drwx--x--x 2 xs757184 members 304 11月 2 12:39 memo
|
127
|
-
-rw-r--r-- 1 xs757184 members
|
125
|
+
-rw-r--r-- 1 xs757184 members 1183 3月 12 22:08 web.config
|
128
|
-
|
126
|
+
|
129
|
-
drwxr-xr-x 9 xs757184 members 4096 2月 3 06:44 wp-admin
|
130
|
-
-rw-r--r-- 1 xs757184 members 351 4月 1 2020 wp-blog-header.php
|
131
|
-
-rw-r--r-- 1 xs757184 members 2328 2月 3 06:44 wp-comments-post.php
|
132
|
-
-rw-r--r-- 1 xs757184 members 3931 4月 1 2020 wp-config-sample.php
|
133
|
-
-rw------- 1 xs757184 members 4233 8月 5 2020 wp-config.php
|
134
|
-
drwxr-xr-x 7 xs757184 members 127 3月 11 12:04 wp-content
|
135
|
-
-rw-r--r-- 1 xs757184 members 3939 2月 3 06:44 wp-cron.php
|
136
|
-
drwxr-xr-x 25 xs757184 members 8192 2月 3 06:44 wp-includes
|
137
|
-
-rw-r--r-- 1 xs757184 members 2496 4月 1 2020 wp-links-opml.php
|
138
|
-
-rw-r--r-- 1 xs757184 members 3300 4月 1 2020 wp-load.php
|
139
|
-
-rw-r--r-- 1 xs757184 members 49831 2月 3 06:44 wp-login.php
|
140
|
-
-rw-r--r-- 1 xs757184 members 8509 5月 14 2020 wp-mail.php
|
141
|
-
-rw-r--r-- 1 xs757184 members 20975 2月 3 06:44 wp-settings.php
|
142
|
-
-rw-r--r-- 1 xs757184 members 31337 2月 3 06:44 wp-signup.php
|
143
|
-
-rw-r--r-- 1 xs757184 members 4747 2月 3 06:44 wp-trackback.php
|
144
|
-
-rw-r--r-- 1 xs757184 members 3236 2月 3 06:44 xmlrpc.php
|
145
127
|
```
|
146
128
|
|
147
129
|
---
|
8
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -100,7 +100,50 @@
|
|
100
100
|
正しくシンボリックリンクは作成できていると思うのだけれど、意図した画面が表示されない。。
|
101
101
|
どうしてだろう?
|
102
102
|
|
103
|
+
### 追記⑤
|
104
|
+
hotpepperディレクトリ内のindex.htmlが表示されていた。
|
105
|
+
inde.htmlを削除したら真っ白だった画面が404 not foundに変わった。
|
106
|
+
真っ白の時も、404のと時もエックスサーバーのエラーログは何もなかった。
|
107
|
+
ローカルでは今も通常通りに動いている。
|
103
108
|
|
109
|
+
|
110
|
+
ls -al ~/ドメイン名/public_html/hotpepper/
|
111
|
+
上記のコマンドをもう一度実行した結果
|
112
|
+
|
113
|
+
```ここに言語を入力
|
114
|
+
合計 248
|
115
|
+
drwx--x--x 9 xs757184 members 4096 3月 16 20:52 .
|
116
|
+
drwx--x--x 11 xs757184 members 198 3月 16 07:25 ..
|
117
|
+
-rw-r--r-- 1 xs757184 members 737 2月 3 06:44 .htaccess
|
118
|
+
-rw------- 4 xs757184 members 3878 5月 13 2020 .user.ini
|
119
|
+
drwx---r-x 7 xs757184 members 154 11月 12 11:14 PHP
|
120
|
+
drwx---r-x 3 xs757184 members 47 2月 8 19:58 Shared
|
121
|
+
-rw-r--r-- 1 xs757184 members 6633 5月 13 2020 default_page.png
|
122
|
+
lrwxrwxrwx 1 xs757184 members 65 3月 16 20:52 hotpepper -> /home/キー/ドメイン名/massage-project/public
|
123
|
+
-rw-r--r-- 1 xs757184 members 405 4月 1 2020 index.php
|
124
|
+
drwx--x--x 2 xs757184 members 4096 11月 13 11:22 jibunquest-lp
|
125
|
+
-rw-r--r-- 1 xs757184 members 19915 2月 23 12:35 license.txt
|
126
|
+
drwx--x--x 2 xs757184 members 304 11月 2 12:39 memo
|
127
|
+
-rw-r--r-- 1 xs757184 members 10089 2月 23 12:35 readme.html
|
128
|
+
-rw-r--r-- 1 xs757184 members 7101 2月 3 06:44 wp-activate.php
|
129
|
+
drwxr-xr-x 9 xs757184 members 4096 2月 3 06:44 wp-admin
|
130
|
+
-rw-r--r-- 1 xs757184 members 351 4月 1 2020 wp-blog-header.php
|
131
|
+
-rw-r--r-- 1 xs757184 members 2328 2月 3 06:44 wp-comments-post.php
|
132
|
+
-rw-r--r-- 1 xs757184 members 3931 4月 1 2020 wp-config-sample.php
|
133
|
+
-rw------- 1 xs757184 members 4233 8月 5 2020 wp-config.php
|
134
|
+
drwxr-xr-x 7 xs757184 members 127 3月 11 12:04 wp-content
|
135
|
+
-rw-r--r-- 1 xs757184 members 3939 2月 3 06:44 wp-cron.php
|
136
|
+
drwxr-xr-x 25 xs757184 members 8192 2月 3 06:44 wp-includes
|
137
|
+
-rw-r--r-- 1 xs757184 members 2496 4月 1 2020 wp-links-opml.php
|
138
|
+
-rw-r--r-- 1 xs757184 members 3300 4月 1 2020 wp-load.php
|
139
|
+
-rw-r--r-- 1 xs757184 members 49831 2月 3 06:44 wp-login.php
|
140
|
+
-rw-r--r-- 1 xs757184 members 8509 5月 14 2020 wp-mail.php
|
141
|
+
-rw-r--r-- 1 xs757184 members 20975 2月 3 06:44 wp-settings.php
|
142
|
+
-rw-r--r-- 1 xs757184 members 31337 2月 3 06:44 wp-signup.php
|
143
|
+
-rw-r--r-- 1 xs757184 members 4747 2月 3 06:44 wp-trackback.php
|
144
|
+
-rw-r--r-- 1 xs757184 members 3236 2月 3 06:44 xmlrpc.php
|
145
|
+
```
|
146
|
+
|
104
147
|
---
|
105
148
|
具体的な正解が分かる方、
|
106
149
|
よろしくお願い致します!
|
7
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -91,9 +91,16 @@
|
|
91
91
|
でも、laravelのアプリはまだ表示されていない。
|
92
92
|
何が原因んだろう?
|
93
93
|
|
94
|
+
---
|
95
|
+
### 追記④
|
96
|
+
ls -al ~/ドメイン名/public_html/ を実行した結果
|
97
|
+
```ここに言語を入力
|
98
|
+
hotpepper -> /home/キー/ドメイン名/massage-project/public
|
99
|
+
```
|
100
|
+
正しくシンボリックリンクは作成できていると思うのだけれど、意図した画面が表示されない。。
|
101
|
+
どうしてだろう?
|
94
102
|
|
95
103
|
|
96
|
-
|
97
104
|
---
|
98
105
|
具体的な正解が分かる方、
|
99
106
|
よろしくお願い致します!
|
6
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -69,7 +69,31 @@
|
|
69
69
|
-rw-r--r-- 1 xs757184 members 0 3月 16 07:50 index.html
|
70
70
|
lrwxrwxrwx 1 xs757184 members 65 3月 16 07:32 public -> /home/キー名/ドメイン名/massage-project/public
|
71
71
|
```
|
72
|
+
### 追記③
|
73
|
+
間違っているシンボリックリンクを削除します。
|
74
|
+
```ここに言語を入力
|
75
|
+
cd ~/ドメイン名/public_html/hotpepper/
|
76
|
+
rm ./public
|
77
|
+
```
|
78
|
+
サブドメインのディレクトリを改名して適当なところへ退避しておきます。
|
79
|
+
```ここに言語を入力
|
80
|
+
mv ~/ドメイン名/public_html/hotpepper ~/hotpepper.bak
|
81
|
+
```
|
82
|
+
~/ドメイン名/public_html/の下にサブドメインのディレクトリが無いことを確認したら、サブドメインのディレクトリと同じ名前でシンボリックリンクを作成します。
|
83
|
+
```ここに言語を入力
|
84
|
+
ln -s ~/ドメイン名/massage-project/public ~/ドメイン名/public_html/hotpepper
|
85
|
+
```
|
72
86
|
|
87
|
+
上記で、シンボリックリンクは貼れたと思う。
|
88
|
+
しかし、まだ真っ白。
|
89
|
+
index.htmlのではないかと予想。
|
90
|
+
エックスサーバーのエラーログにはひっかかっていないことを確認。
|
91
|
+
でも、laravelのアプリはまだ表示されていない。
|
92
|
+
何が原因んだろう?
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
73
97
|
---
|
74
98
|
具体的な正解が分かる方、
|
75
99
|
よろしくお願い致します!
|
5
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -46,6 +46,30 @@
|
|
46
46
|
これはシンボリックリンクが意図したところに通っていないのでしょうか?
|
47
47
|
どのようにすればlaravelのアプリが表示されるでしょうか?
|
48
48
|
|
49
|
+
---
|
50
|
+
追記②
|
51
|
+
### ls -al ~/ドメイン名/public_html/hotpepper
|
52
|
+
上記コマンドの実行結果
|
49
53
|
|
54
|
+
```ここに言語を入力
|
55
|
+
合計 8
|
56
|
+
drwx--x--x 2 xs757184 members 71 3月 16 07:50 .
|
57
|
+
drwx--x--x 10 xs757184 members 4096 3月 16 12:30 ..
|
58
|
+
-rw------- 4 xs757184 members 3878 5月 13 2020 .user.ini
|
59
|
+
-rw-r--r-- 1 xs757184 members 0 3月 16 07:50 index.html
|
60
|
+
lrwxrwxrwx 1 xs757184 members 65 3月 16 07:32 public -> /home/キー名/ドメイン名/massage-project/public
|
61
|
+
```
|
62
|
+
|
63
|
+
### ls -al ~/ドメイン名/public_html/hotpepper/
|
64
|
+
```ここに言語を入力
|
65
|
+
合計 8
|
66
|
+
drwx--x--x 2 xs757184 members 71 3月 16 07:50 .
|
67
|
+
drwx--x--x 10 xs757184 members 4096 3月 16 12:30 ..
|
68
|
+
-rw------- 4 xs757184 members 3878 5月 13 2020 .user.ini
|
69
|
+
-rw-r--r-- 1 xs757184 members 0 3月 16 07:50 index.html
|
70
|
+
lrwxrwxrwx 1 xs757184 members 65 3月 16 07:32 public -> /home/キー名/ドメイン名/massage-project/public
|
71
|
+
```
|
72
|
+
|
73
|
+
---
|
50
74
|
具体的な正解が分かる方、
|
51
75
|
よろしくお願い致します!
|
4
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -25,20 +25,27 @@
|
|
25
25
|
|
26
26
|
### 追記
|
27
27
|
|
28
|
-
|
28
|
+
シンボリックリンクは繋がった!
|
29
|
+
しかし、403エラーが出た。
|
29
30
|
|
30
|
-
|
31
31
|
```ここに言語を入力
|
32
|
+
アクセスが許可されていない(パーミッション等によって禁止されている)。
|
32
|
-
|
33
|
+
デフォルトドキュメント(index.html, index.htm 等)が存在しない。
|
33
34
|
```
|
35
|
+
この時のエックスサーバーのエラーログ
|
36
|
+
```ここに言語を入力
|
37
|
+
[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/
|
34
38
|
|
35
|
-
|
36
|
-
エラー文↓
|
37
39
|
```
|
38
|
-
ln: シンボリックリンク `/home/秘密鍵ナンバー/programing-independence.com/public_html/public/hotpepper.programing-independence.com' の作成に失敗しました: そのようなファイルやディレクトリはありません
|
39
|
-
```
|
40
40
|
|
41
|
+
なので、ディレクトリにchmod 777で権限を与えた。
|
42
|
+
hotpepperディレクトリにindex.htmlを作った。
|
43
|
+
ただ、まっさらなindex.htmlが反映された。
|
44
|
+
シンボリックリンクが無効なのか?と思った。
|
41
45
|
|
46
|
+
これはシンボリックリンクが意図したところに通っていないのでしょうか?
|
47
|
+
どのようにすればlaravelのアプリが表示されるでしょうか?
|
42
48
|
|
49
|
+
|
43
50
|
具体的な正解が分かる方、
|
44
51
|
よろしくお願い致します!
|
3
スクリーンショット削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -38,8 +38,6 @@
|
|
38
38
|
ln: シンボリックリンク `/home/秘密鍵ナンバー/programing-independence.com/public_html/public/hotpepper.programing-independence.com' の作成に失敗しました: そのようなファイルやディレクトリはありません
|
39
39
|
```
|
40
40
|
|
41
|
-
**サイバーダック内のスクリーンショット**
|
42
|
-

|
43
41
|
|
44
42
|
|
45
43
|
具体的な正解が分かる方、
|
2
エラー文を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -33,6 +33,7 @@
|
|
33
33
|
```
|
34
34
|
|
35
35
|
|
36
|
+
エラー文↓
|
36
37
|
```
|
37
38
|
ln: シンボリックリンク `/home/秘密鍵ナンバー/programing-independence.com/public_html/public/hotpepper.programing-independence.com' の作成に失敗しました: そのようなファイルやディレクトリはありません
|
38
39
|
```
|
1
シンボリックリンクの詳細を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,5 +23,23 @@
|
|
23
23
|
|
24
24
|
index.htmlからlaravelのトップページに行くようにコードを書かないといけないのでしょうか?
|
25
25
|
|
26
|
+
### 追記
|
27
|
+
|
28
|
+
以下のコマンドを打って
|
29
|
+
|
30
|
+
|
31
|
+
```ここに言語を入力
|
32
|
+
ln -s ~/programing-independence.com/massage-project/public ~/programing-independence.com/public_html/public/hotpepper.programing-independence.com
|
33
|
+
```
|
34
|
+
|
35
|
+
|
36
|
+
```
|
37
|
+
ln: シンボリックリンク `/home/秘密鍵ナンバー/programing-independence.com/public_html/public/hotpepper.programing-independence.com' の作成に失敗しました: そのようなファイルやディレクトリはありません
|
38
|
+
```
|
39
|
+
|
40
|
+
**サイバーダック内のスクリーンショット**
|
41
|
+

|
42
|
+
|
43
|
+
|
26
44
|
具体的な正解が分かる方、
|
27
45
|
よろしくお願い致します!
|