質問編集履歴

6

シンボリック説明追加

2022/11/10 11:26

投稿

soso0programmer
soso0programmer

スコア35

test CHANGED
File without changes
test CHANGED
@@ -140,4 +140,13 @@
140
140
  RewriteRule ^ index.php [L]
141
141
  </IfModule>
142
142
  ```
143
+ 追記
144
+ webpack.mix.jsに以下のソースコードを追加してもダメでした。
145
+ mix.setResourceRoot('/todolist/');
143
146
 
147
+ 補足情報として以下の画像のようにシンボリックリンクを設定しています。
148
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-10/e6b7923c-355f-41df-9dee-61bd1406f64e.png)
149
+
150
+ public_htmlのあとに/todolist/を追加している理由はxserverだとうまく設定できないからです。
151
+ 参考URL:https://brainlog.jp/programming/laravel/post-1287/
152
+

5

.htaaccess追加

2022/11/09 11:07

投稿

soso0programmer
soso0programmer

スコア35

test CHANGED
File without changes
test CHANGED
@@ -115,3 +115,29 @@
115
115
  開発者ツールを開いた状態で更新した場合
116
116
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-09/2da83670-2825-490e-b7c9-6bf7a37afa1f.png)
117
117
 
118
+ 追記3
119
+ ```.htaccess
120
+ <IfModule mod_rewrite.c>
121
+ <IfModule mod_negotiation.c>
122
+ Options -MultiViews -Indexes
123
+ </IfModule>
124
+
125
+ RewriteEngine On
126
+   **RewriteBase /todolist**
127
+
128
+ # Handle Authorization Header
129
+ RewriteCond %{HTTP:Authorization} .
130
+ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
131
+
132
+ # Redirect Trailing Slashes If Not A Folder...
133
+ RewriteCond %{REQUEST_FILENAME} !-d
134
+ RewriteCond %{REQUEST_URI} (.+)/$
135
+ RewriteRule ^ %1 [L,R=301]
136
+
137
+ # Send Requests To Front Controller...
138
+ RewriteCond %{REQUEST_FILENAME} !-d
139
+ RewriteCond %{REQUEST_FILENAME} !-f
140
+ RewriteRule ^ index.php [L]
141
+ </IfModule>
142
+ ```
143
+

4

エラー内容追加

2022/11/09 08:21

投稿

soso0programmer
soso0programmer

スコア35

test CHANGED
File without changes
test CHANGED
@@ -111,4 +111,7 @@
111
111
  [Wed Nov 09 08:14:50.373502 2022] [core:error] [pid 408783:tid 408925] [client 124.209.133.129:43942] 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: https://personal-development-contest.com/todolist/
112
112
  [Wed Nov 09 08:14:50.373519 2022] [core:error] [pid 408783:tid 408925] [client 124.209.133.129:43942] 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: https://personal-development-contest.com/todolist/
113
113
  ```
114
+ 追記2
115
+ 開発者ツールを開いた状態で更新した場合
116
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-09/2da83670-2825-490e-b7c9-6bf7a37afa1f.png)
114
117
 

3

エラーログ追加

2022/11/09 03:01

投稿

soso0programmer
soso0programmer

スコア35

test CHANGED
File without changes
test CHANGED
@@ -92,3 +92,23 @@
92
92
  原因は調査中&エラーログの確認中です。
93
93
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-09/189050d8-9870-4558-a9bc-43ff090ed33d.png)
94
94
 
95
+ ### エラーログ
96
+ ```error.log
97
+ [Wed Nov 09 04:34:11.927849 2022] [core:error] [pid 394359:tid 394867] [client 193.235.141.173:53138] 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.
98
+ [Wed Nov 09 04:34:11.927878 2022] [core:error] [pid 394359:tid 394867] [client 193.235.141.173:53138] 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.
99
+ [Wed Nov 09 04:34:12.805935 2022] [core:error] [pid 394359:tid 394887] [client 193.235.141.173:53316] 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.
100
+ [Wed Nov 09 04:34:12.805964 2022] [core:error] [pid 394359:tid 394887] [client 193.235.141.173:53316] 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.
101
+ [Wed Nov 09 06:51:37.110650 2022] [core:error] [pid 394357:tid 394791] [client 194.36.97.195:55806] 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.
102
+ [Wed Nov 09 06:51:37.110673 2022] [core:error] [pid 394357:tid 394791] [client 194.36.97.195:55806] 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.
103
+ [Wed Nov 09 08:13:28.443358 2022] [core:error] [pid 408782:tid 409077] [client 124.209.133.129:46756] 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: https://personal-development-contest.com/todolist/
104
+ [Wed Nov 09 08:13:28.443384 2022] [core:error] [pid 408782:tid 409077] [client 124.209.133.129:46756] 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: https://personal-development-contest.com/todolist/
105
+ [Wed Nov 09 08:13:53.335477 2022] [core:error] [pid 408781:tid 409266] [client 124.209.133.129:55124] 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: https://personal-development-contest.com/todolist/
106
+ [Wed Nov 09 08:13:53.335507 2022] [core:error] [pid 408781:tid 409266] [client 124.209.133.129:55124] 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: https://personal-development-contest.com/todolist/
107
+ [Wed Nov 09 08:14:31.681095 2022] [core:error] [pid 408783:tid 409018] [client 124.209.133.129:38472] 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: https://personal-development-contest.com/todolist/
108
+ [Wed Nov 09 08:14:31.681112 2022] [core:error] [pid 408783:tid 409018] [client 124.209.133.129:38472] 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: https://personal-development-contest.com/todolist/
109
+ [Wed Nov 09 08:14:33.384783 2022] [core:error] [pid 408781:tid 409029] [client 124.209.133.129:39096] 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: https://personal-development-contest.com/todolist/
110
+ [Wed Nov 09 08:14:33.384829 2022] [core:error] [pid 408781:tid 409029] [client 124.209.133.129:39096] 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: https://personal-development-contest.com/todolist/
111
+ [Wed Nov 09 08:14:50.373502 2022] [core:error] [pid 408783:tid 408925] [client 124.209.133.129:43942] 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: https://personal-development-contest.com/todolist/
112
+ [Wed Nov 09 08:14:50.373519 2022] [core:error] [pid 408783:tid 408925] [client 124.209.133.129:43942] 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: https://personal-development-contest.com/todolist/
113
+ ```
114
+

2

追記

2022/11/09 02:54

投稿

soso0programmer
soso0programmer

スコア35

test CHANGED
File without changes
test CHANGED
@@ -86,3 +86,9 @@
86
86
  Laravel 8
87
87
  参考動画:https://youtu.be/UHSipe7pSac
88
88
 
89
+ 追記
90
+ 初心者すぎて申し訳ないのですが、本番DBとの接続ができていませんでした・・・
91
+ 本番DBと接続後、エラー内容が変わったので添付いたします。
92
+ 原因は調査中&エラーログの確認中です。
93
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-09/189050d8-9870-4558-a9bc-43ff090ed33d.png)
94
+

1

URL追加

2022/11/08 12:23

投稿

soso0programmer
soso0programmer

スコア35

test CHANGED
File without changes
test CHANGED
@@ -3,6 +3,8 @@
3
3
 
4
4
  ローカル環境では問題なく動いていたアプリが本番環境に上げるとうまく動作しません。
5
5
  もし原因をご存じの方がいらっしゃいましたらご教授願います。
6
+
7
+ 本番URL:http://personal-development-contest.com/todolist/
6
8
 
7
9
  エラー内容といたしましては、以下の画像のようにServer Error 500と出ています。
8
10
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-08/327ef04a-3b21-43e7-af26-1ec1a198e7bd.png)