TKngDisuke
@TKngDisuke (大輔 徳永)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

cssがうまく反映されない

解決したいこと

cssがうまく反映されない。
環境Laravel8、MAMPでApcheを利用、Mysql

スクリーンショット 2021-08-16 8.07.58.png
このようにcssが反映されず、Jetstreamのログイン画面の画像が大きくなっています。

Laravelの入門書でAuthの機能をつくっています。そこでLaravel8からは全てJetstreamで動くとの事でしたので全てインストールして(参照:https://qiita.com/manbolila/items/498aae00f3574c72f031)

localhost/loginでログインの画面にはいくのですが、表示が崩れているようです。
app.cssはLaravelに元から入っているcssファイルとの事でFinderで見ると空白(0バイト)でしたので前の研究者のLaravel用のapp.cssファイルがあったのでそこに置き換えておきました。(これがLaravel6の時のapp.cssだからエラーになるかもしれないです?)

それでもうまくいかないので調べてみるとどうやらapp.cssがpublicに置いていないといけないとの事で
laravelapp/resources/css
にあるファイルをコピーして
/Applications/MAMP/htdocs/laravelapp/public/css
におきました。
それでもcssが読み込めないのでやはりLaravel6のapp.cssを8では利用できないとの事でしょうか?
だとしたらapp.cssファイルをダウンロードする方法はありますか?
Laravelをターミナルでダウンロードした時に自動的にcssファイルがダウンロードされているとの事でしたが、0バイトでテキストが何も書かれていませんでした。

発生している問題・エラー

Googleの開発からcssが起動しているかどうか確認するとエラーが出ました。

GET http://localhost/css/app.css net::ERR_ABORTED 404 (Not Found)
dashboard:39 GET http://localhost/js/app.js net::ERR_ABORTED 404 (Not Found)
dashboard:325 GET http://localhost/livewire/livewire.js?id=83b555bb3e243bc25f35 net::ERR_ABORTED 500 (Internal Server Error)
dashboard:331 Uncaught ReferenceError: Livewire is not defined
    at dashboard:331

cssもそうですが、他にもエラーが出ていました泣

自分で試したこと

フォルダを移動させたこととapp.cssファイルが0バイトだったのでLaravel6のapp.cssファイルをコピーしておきました。

追記Googleの開発ツールを使うとこのようになっています

スクリーンショット 2021-08-17 16.11.05.png

0

2Answer

npm run devでコンパイルして見てください。
コンパイルするファイルはwebpack.mix.jsに定義してあります。

0Like

Comments

  1. @TKngDisuke

    Questioner

    ターミナルでうつと
    > @ dev /Applications/MAMP/htdocs/laravelapp
    > npm run development
    > @ development /Applications/MAMP/htdocs/laravelapp
    > mix
    ● Mix █████████████████████████ building (37%) 1/2 entries 89/89 dependenci
    es 35/37 modules 2 active
    ...s|0
    warn - You have enabled the JIT engine which is currently in preview.
    warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time
    ● Mix █████████████████████████ done (99%) plugins
    WebpackBar:done
    warn - You have enabled the JIT engine which is currently in preview.
    warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
    ✔ Mix
    Compiled successfully in 1.25s
    warn - You have enabled the JIT engine which is currently in preview.
    warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
    Laravel Mix v6.0.27
    ✔ Compiled Successfully in 1228ms
    ┌────────────────────────────────────────────────────────────────┬──────────┐
    │ File │ Size │
    ├────────────────────────────────────────────────────────────────┼──────────┤
    │ /js/app.js │ 1.18 MiB │
    │ css/app.css │ 43.1 KiB │
    └────────────────────────────────────────────────────────────────┴──────────┘
    webpack compiled successfully
    となりましたが、この後、どうすればいいでしょうか?
    app.cssが更新はされたようです
  2. @TKngDisuke

    Questioner

    また、Google開発ツールで
    Network部分の
    HeaderのGeneralを確認するとこのような記述が見られました。
    Request URL: http://localhost/css/app.css
    Request Method: GET
    Status Code: 404 Not Found
    Remote Address: [::1]:80
    Referrer Policy: strict-origin-when-cross-origin
  3. `css/app.css`の行をみると`/css/app.css`になっていませんね。
    `js/app.js`と`css/app.css`を削除し、もう一回`npm run dev`をうって、`public/`にこの二つファイルが作られてるか確認してください。

    その次に、jsかcssを新しタブで開いて見てください。もしlaravelの404 Not foundが出て来れば、Apacheのrewriteモジュルが起用されてないかrewriteの設定或いは.htaccessの設定の問題だと思います。
    もしApacheの404 Not Foundが出て来れば、Apache VirtualHostのDocumentRootを`public/`に設定してないからの問題です。
  4. @TKngDisuke

    Questioner

    >>`public/`にこの二つファイルが作られてるか確認してください。
    これはpublicフォルダ内に入っているかですか?
    それであれば入っています。/Applications/MAMP/htdocs/laravelapp/public/css/app.css

    >>その次に、jsかcssを新しタブで開いて見てください。
    Chromeでこのようにファイル名を打つと出ました。
    file:///Applications/MAMP/htdocs/laravelapp/public/css/app.css
    Notfoundは出ていません。

    >>しかし、Googleの開発ツールでソースが/css/app.cssをクリックして
    http://localhost/css/app.cssに遷移するとこのようにNot Foundと出てしまいます。これはLaravelなのかApacheの問題なのか分からないです。申し訳ありません。
    ![スクリーンショット 2021-08-18 15.29.17.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/1879003/690b8d9c-d0ce-14a5-f53c-7b4c6aa5af0f.png)

    またnpm run devwo
    打つと
    最後にwebpack compiled successfully


    ╭────────────────────────────────────────────────────────────────╮
    │ │
    │ New major version of npm available! 6.14.14 → 7.20.6 │
    │ Changelog: https://github.com/npm/cli/releases/tag/v7.20.6
    │ Run npm install -g npm to update! │
    │ │
    ╰────────────────────────────────────────────────────────────────╯

    と出ましたが、これはupdateした方がいいですよね?
  5. @TKngDisuke

    Questioner

    MAMPのDocumentルートはMAMP/htdocs/laravelapp
    に設定しています。
    またupdateもしました。
  6. Documentルートをlaravelapp/publicに設定すれば治ります。
  7. @TKngDisuke

    Questioner

    Documentルートを変えてアクセスすると
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at you@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.
    と出て
    おかしいと思い、ターミナルから

    tokut@MacBook-Pro laravelapp % tail /Applications/MAMP/logs/apache_error.log
    を打つと

    [Wed Aug 18 23:02:50.087245 2021] [core:error] [pid 89838] [client ::1:63051] 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.
    [Wed Aug 18 23:03:07.298847 2021] [core:error] [pid 89857] [client ::1:63053] 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.
    [Wed Aug 18 23:03:20.690945 2021] [core:error] [pid 89859] [client ::1:63057] 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.
    [Wed Aug 18 23:03:26.123347 2021] [core:error] [pid 89833] [client ::1:63058] 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.
    [Wed Aug 18 23:04:09.182818 2021] [core:error] [pid 89838] [client ::1:63076] 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.
    [Wed Aug 18 23:04:15.182852 2021] [mpm_prefork:notice] [pid 89828] AH00169: caught SIGTERM, shutting down
    [Wed Aug 18 23:04:29.221562 2021] [:notice] [pid 90403] FastCGI: process manager initialized (pid 90403)
    [Wed Aug 18 23:04:29.253865 2021] [mpm_prefork:notice] [pid 90398] AH00163: Apache/2.4.46 (Unix) OpenSSL/1.0.2u PHP/8.0.3 mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11 Perl/v5.30.1 configured -- resuming normal operations
    [Wed Aug 18 23:04:29.254943 2021] [core:notice] [pid 90398] AH00094: Command line: '/Applications/MAMP/Library/bin/httpd'
    [Wed Aug 18 23:04:35.477908 2021] [core:error] [pid 90407] [client ::1:63080] 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.
    と出てapp.cssもそうですが、全てのファイルにアクセスできなくなり、元のDocumentルートに戻してもアクセスできなくなってしまいました。。。。
  8. コードのどこかにリダイレクトの設定をしましたか?
    それとも.htaccessでレダイレクトを設置しましたか?
  9. @TKngDisuke

    Questioner

    返信遅れてしまい申し訳ありません。
    リダイレクトの設定は全くしてないです。。。
    Documentルートを変更しただけでエラーが多数見受けられました。
    しかも元に戻すとエラーがまた出てしまい、八方塞がりの状態になってしまいましたので
    Laravelappのサーバーでとりあえず、開発はしています。Laravelappのサーバーで動かすとcssは動いているようです。
    MAMPのサーバーでデータベースも作っているのでいつかデータベース関連でMAMPを起動してないと動かないことがありそうでMAMPサーバーで表示させたいのですが、css以前にページが表示されずに困っています。。。
  10. Apacheのコンフィグを見てもいいでしょうか?
    VirtualHostの部分だけでよろしいと思います。
  11. @TKngDisuke

    Questioner

    Apacheのconfigが二つ?あります。
    MAMP>conf>apache>httpd.confと
    MAMP>conf>apache>>original>httpd.confがあり、二つともVirtual Hostで検索すると8つ当てはまり、どれも#の後にコメントアウトのような形でVirtual Hostを記述していました。
    どこを送ればいいのか分からないですが、3つあるところを送ります。
    <IfModule xsendfile_module>
    XSendFile on
    </IfModule>

    # 'Main' server configuration
    #
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    #
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    #

    #
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. admin@your-domain.com
    #
    ServerAdmin you@example.com
  12. 返信遅れて申し訳ありません。

    ググった結果、.htaccessファイルのRewriteEngine On行の下にRewriteBase /を追加すれば治ると書かれてました。
  13. @TKngDisuke

    Questioner

    いえいえ!真摯に質問に答えてくださって本当に助かります!ありがとうございます!
    .htaccessファイルに追加しましたが、うまくいきません.
    まだInternal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at you@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.
    となっており、
    tokut@MacBook-Pro laravelapp % tail /Applications/MAMP/logs/apache_error.log
    [Tue Aug 24 16:00:14.530323 2021] [:notice] [pid 39713] FastCGI: process manager initialized (pid 39713)
    [Tue Aug 24 16:00:14.563272 2021] [mpm_prefork:notice] [pid 39704] AH00163: Apache/2.4.46 (Unix) OpenSSL/1.0.2u PHP/8.0.3 mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11 Perl/v5.30.1 configured -- resuming normal operations
    [Tue Aug 24 16:00:14.569171 2021] [core:notice] [pid 39704] AH00094: Command line: '/Applications/MAMP/Library/bin/httpd'
    [Tue Aug 24 16:00:18.250075 2021] [core:error] [pid 39715] [client ::1:58956] 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.
    [Tue Aug 24 16:00:20.730504 2021] [core:error] [pid 39717] [client ::1:58957] 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.
    [Tue Aug 24 16:00:24.968541 2021] [core:error] [pid 39714] [client ::1:58965] 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.
    [Tue Aug 24 16:00:30.528441 2021] [core:error] [pid 39718] [client ::1:58966] 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.
    [Tue Aug 24 16:00:32.072152 2021] [core:error] [pid 39716] [client ::1:58967] 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.
    [Tue Aug 24 16:00:37.736842 2021] [core:error] [pid 39731] [client ::1:58974] 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.
    [Tue Aug 24 16:00:59.913435 2021] [core:error] [pid 39718] [client ::1:58989] 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://localhost/MAMP/?language=English

    こうなってます。。
  14. apacheのconfigにLogLevel debugを追加、apacheを再起動、それでまたログを貼り付けてください。詳しいログが書かれると書いてます。
  15. @TKngDisuke

    Questioner

    追加しました!
    tokut@MacBook-Pro laravelapp % tail /Applications/MAMP/logs/apache_error.log
    [Wed Aug 25 18:54:49.511216 2021] [proxy:debug] [pid 88525] proxy_util.c(2032): AH00930: initialized pool in child 88525 for (*) min=0 max=4 smax=4
    [Wed Aug 25 18:54:49.511300 2021] [watchdog:debug] [pid 88525] mod_watchdog.c(560): AH02980: Watchdog: nothing configured?
    [Wed Aug 25 18:54:49.511368 2021] [:info] [pid 88525] mod_wsgi (pid=88525): Initializing Python.
    [Wed Aug 25 18:54:49.513104 2021] [proxy:debug] [pid 88526] proxy_util.c(1938): AH00925: initializing worker proxy:reverse shared
    [Wed Aug 25 18:54:49.513670 2021] [proxy:debug] [pid 88526] proxy_util.c(1998): AH00927: initializing worker proxy:reverse local
    [Wed Aug 25 18:54:49.513736 2021] [proxy:debug] [pid 88526] proxy_util.c(2032): AH00930: initialized pool in child 88526 for (*) min=0 max=4 smax=4
    [Wed Aug 25 18:54:49.513817 2021] [watchdog:debug] [pid 88526] mod_watchdog.c(560): AH02980: Watchdog: nothing configured?
    [Wed Aug 25 18:54:49.513889 2021] [:info] [pid 88526] mod_wsgi (pid=88526): Initializing Python.
    [Wed Aug 25 18:54:49.560747 2021] [:info] [pid 88526] mod_wsgi (pid=88526): Attach interpreter ''.
    [Wed Aug 25 18:54:49.560873 2021] [:info] [pid 88525] mod_wsgi (pid=88525): Attach interpreter ''.
  16. この10行のログには何もエラーが見当たらないですね。
    apache_error.logの内容よ全部消して、localhsotを訪問し、全てのログを見て見てください(catコマンドでファイルの全ての内容を表示できます。或いはエディターで開いてスクリーンショットでもよろしいです)。
  17. @TKngDisuke

    Questioner

    全部消してlocalhostにアクセスすると前と同じ画面が出ました
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at you@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    全てのログを見るというのはエラーログを見るということかなと思ったのでターミナルでうち、確認しました。こちらになります。
    tokut@MacBook-Pro laravelapp % cd /Applications/MAMP/
    tokut@MacBook-Pro MAMP % cd logs/
    tokut@MacBook-Pro logs % ls
    apache_error.log cloud_mamp.log mysql_error_log.err php_error.log
    tokut@MacBook-Pro logs % tail -f php_error.log
    [17-Aug-2021 16:19:30 Asia/Tokyo] PHP Fatal error: Cannot declare class AddColumnToUsersTable, because the name is already in use in /Applications/MAMP/htdocs/laravelapp/database/migrations/2021_08_15_234541_add_column_to_phone_users_table.php on line 7
    [17-Aug-2021 16:26:12 Asia/Tokyo] PHP Fatal error: Cannot declare class AddColumnToUsersTable, because the name is already in use in /Applications/MAMP/htdocs/laravelapp/database/migrations/2021_08_15_234541_add_column_to_phone_users_table.php on line 7
    ^C
    tokut@MacBook-Pro logs % tail -f apache_error.log

    apache_error.logには何も追加されていなく、また全て消したので何もありませんでした。

    エラーが言われているのは2021_08_15_234541_add_column_to_phone_users_table.php on line 7
    Jetstreamに電話番号の記載が無かったので新しくusersテーブルにstring型でphoneというデータを追加しました。
  18. `Cannot declare class AddColumnToUsersTable, because the name is already in use in /Applications/MAMP/htdocs/laravelapp/database/migrations/2021_08_15_234541_add_column_to_phone_users_table.php on line 7`
    ログに書いてあるどうり、AddColumnToUsersTableのクラスが複数存在してるからです。`2021_08_15_234541_add_column_to_phone_users_table.php`のクラス名をAddColumnToPhoneUsersTableと変えてやってみてください。
  19. @TKngDisuke

    Questioner

    同じ名前のクラスで設定していましたので変更しました!
    一応これでエラー関連は消えたかと思ったのですが、どうでしょうか?
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    というのはよく起きることなのでしょうか、、
    サーバー関連のエラーだとは思いますが、mysqlも調べましたので書いときます。
    % tail -f mysql_error_log.err
    2021-08-26T14:12:15.352459Z 966 [Warning] InnoDB: Table mysql/innodb_table_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.352533Z 966 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.354065Z 966 [Warning] InnoDB: Table mysql/innodb_table_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.354101Z 966 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.356098Z 966 [Warning] InnoDB: Table mysql/innodb_table_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.356125Z 966 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.357080Z 966 [Warning] InnoDB: Table mysql/innodb_table_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.357108Z 966 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.359058Z 966 [Warning] InnoDB: Table mysql/innodb_table_stats has length mismatch in the column name table_name. Please run mysql_upgrade
    2021-08-26T14:12:15.359082Z 966 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade
     mysqlをupgradeしろとのことでしたのでググってupgradeしましたら
    Upgrade process completed successfully.
    と出ましたのでこちらのmysqlのログも完遂しました!
    MAMPのサーバーが動いているのになんでErrorが出るんですかね、、、
  20. Internal Server ErrorはやっぱりphpかApacheに問題があります。
    phpのログやApacheのログを確認してください。

    MAMPはMac OS, Apache, MySQL, PHPを一とつのアプリにしたもので、ただApacheやMySQLの日常的よく使うコマンドをワンクリックのボタンにしただけです。エラーを解決できるソフトではありません。😂
  21. @TKngDisuke

    Questioner

    MAMPの仕様をよく分かってなかったです笑
    詳しいご説明ありがとうございます。いつも助かっております。
    apacheのエラーをもう一度見ると
    Laravelのサーバーで動かすとエラーの内容が
    tokut@MacBook-Pro logs % tail -f apache_error.log
    [Fri Aug 27 15:52:09.686098 2021] [proxy:debug] [pid 96475] proxy_util.c(1938): AH00925: initializing worker proxy:reverse shared
    [Fri Aug 27 15:52:09.686368 2021] [proxy:debug] [pid 96475] proxy_util.c(1998): AH00927: initializing worker proxy:reverse local
    [Fri Aug 27 15:52:09.686439 2021] [proxy:debug] [pid 96475] proxy_util.c(2032): AH00930: initialized pool in child 96475 for (*) min=0 max=4 smax=4
    [Fri Aug 27 15:52:09.686569 2021] [watchdog:debug] [pid 96475] mod_watchdog.c(560): AH02980: Watchdog: nothing configured?
    [Fri Aug 27 15:52:09.686627 2021] [:info] [pid 96475] mod_wsgi (pid=96475): Initializing Python.
    [Fri Aug 27 15:52:09.734697 2021] [:info] [pid 96470] mod_wsgi (pid=96470): Attach interpreter ''.
    [Fri Aug 27 15:52:09.735115 2021] [:info] [pid 96471] mod_wsgi (pid=96471): Attach interpreter ''.
    [Fri Aug 27 15:52:09.735928 2021] [:info] [pid 96473] mod_wsgi (pid=96473): Attach interpreter ''.
    [Fri Aug 27 15:52:09.739525 2021] [:info] [pid 96474] mod_wsgi (pid=96474): Attach interpreter ''.
    [Fri Aug 27 15:52:09.745089 2021] [:info] [pid 96475] mod_wsgi (pid=96475): Attach interpreter ''.
    MAMPのサーバー(localhost)にアクセスした後のエラーはこのようになっています。

    [Fri Aug 27 16:00:50.190386 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.191007 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.191266 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.191845 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.191972 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.192184 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.192297 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.192313 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.192361 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.192454 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.192468 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.192517 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.192604 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.192626 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.192810 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.192920 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.192936 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.192984 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.193079 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.193092 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.193138 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.193228 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.193250 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.193302 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.193428 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.193467 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.193585 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.193732 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.193993 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.194140 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.194385 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of Require all granted: granted
    [Fri Aug 27 16:00:50.194403 2021] [authz_core:debug] [pid 96473] mod_authz_core.c(815): [client ::1:60051] AH01626: authorization result of <RequireAny>: granted
    [Fri Aug 27 16:00:50.194452 2021] [charset_lite:debug] [pid 96473] mod_charset_lite.c(216): [client ::1:60051] AH01448: incomplete configuration: src unspecified, dst unspecified
    [Fri Aug 27 16:00:50.194473 2021] [core:error] [pid 96473] [client ::1:60051] 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.
    [Fri Aug 27 16:00:50.194485 2021] [core:debug] [pid 96473] core.c(3839): [client ::1:60051] AH00121: r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194493 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194501 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194510 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194518 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194537 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194546 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194554 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194562 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194570 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /public/server.php
    [Fri Aug 27 16:00:50.194577 2021] [core:debug] [pid 96473] core.c(3845): [client ::1:60051] AH00122: redirected from r->uri = /image/index
    [Fri Aug 27 16:00:50.204485 2021] [proxy:debug] [pid 97311] proxy_util.c(1938): AH00925: initializing worker proxy:reverse shared
    [Fri Aug 27 16:00:50.204812 2021] [proxy:debug] [pid 97311] proxy_util.c(1998): AH00927: initializing worker proxy:reverse local
    [Fri Aug 27 16:00:50.204869 2021] [proxy:debug] [pid 97311] proxy_util.c(2032): AH00930: initialized pool in child 97311 for (*) min=0 max=4 smax=4
    [Fri Aug 27 16:00:50.204952 2021] [watchdog:debug] [pid 97311] mod_watchdog.c(560): AH02980: Watchdog: nothing configured?
    [Fri Aug 27 16:00:50.205019 2021] [:info] [pid 97311] mod_wsgi (pid=97311): Initializing Python.
    [Fri Aug 27 16:00:50.262346 2021] [:info] [pid 97311] mod_wsgi (pid=97311): Attach interpreter ''.
    [Fri Aug 27 16:01:10.181278 2021] [reqtimeout:info] [pid 96474] [client ::1:60053] AH01382: Request header read timeout

This answer has been deleted for violation of our Terms of Service.

Your answer might help someone💌