質問編集履歴
6
シンボリック説明追加
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -140,3 +140,12 @@ | |
| 140 140 | 
             
                RewriteRule ^ index.php [L]
         | 
| 141 141 | 
             
            </IfModule>
         | 
| 142 142 | 
             
            ```
         | 
| 143 | 
            +
            追記
         | 
| 144 | 
            +
            webpack.mix.jsに以下のソースコードを追加してもダメでした。
         | 
| 145 | 
            +
            mix.setResourceRoot('/todolist/');
         | 
| 146 | 
            +
             | 
| 147 | 
            +
            補足情報として以下の画像のようにシンボリックリンクを設定しています。
         | 
| 148 | 
            +
            
         | 
| 149 | 
            +
             | 
| 150 | 
            +
            public_htmlのあとに/todolist/を追加している理由はxserverだとうまく設定できないからです。
         | 
| 151 | 
            +
            参考URL:https://brainlog.jp/programming/laravel/post-1287/
         | 
5
.htaaccess追加
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -114,3 +114,29 @@ | |
| 114 114 | 
             
            追記2
         | 
| 115 115 | 
             
            開発者ツールを開いた状態で更新した場合
         | 
| 116 116 | 
             
            
         | 
| 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 | 
            +
            ```
         | 
4
エラー内容追加
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -111,3 +111,6 @@ | |
| 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 | 
            +
            
         | 
3
エラーログ追加
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -91,3 +91,23 @@ | |
| 91 91 | 
             
            本番DBと接続後、エラー内容が変わったので添付いたします。
         | 
| 92 92 | 
             
            原因は調査中&エラーログの確認中です。
         | 
| 93 93 | 
             
            
         | 
| 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 | 
            +
            ```
         | 
2
追記
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -85,3 +85,9 @@ | |
| 85 85 | 
             
            PHP 8.1.2
         | 
| 86 86 | 
             
            Laravel 8
         | 
| 87 87 | 
             
            参考動画:https://youtu.be/UHSipe7pSac
         | 
| 88 | 
            +
             | 
| 89 | 
            +
            追記
         | 
| 90 | 
            +
            初心者すぎて申し訳ないのですが、本番DBとの接続ができていませんでした・・・
         | 
| 91 | 
            +
            本番DBと接続後、エラー内容が変わったので添付いたします。
         | 
| 92 | 
            +
            原因は調査中&エラーログの確認中です。
         | 
| 93 | 
            +
            
         | 
1
URL追加
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -4,6 +4,8 @@ | |
| 4 4 | 
             
            ローカル環境では問題なく動いていたアプリが本番環境に上げるとうまく動作しません。
         | 
| 5 5 | 
             
            もし原因をご存じの方がいらっしゃいましたらご教授願います。
         | 
| 6 6 |  | 
| 7 | 
            +
            本番URL:http://personal-development-contest.com/todolist/
         | 
| 8 | 
            +
             | 
| 7 9 | 
             
            エラー内容といたしましては、以下の画像のようにServer Error 500と出ています。
         | 
| 8 10 | 
             
            
         | 
| 9 11 |  | 
