#author("2025-12-15T03:13:27+00:00","default:iseki","iseki") #author("2025-12-15T03:14:33+00:00","default:iseki","iseki") ** Apache 2.4 の設定 [#wa19f2d8] *** サンプルは 2.4.2 - 赤い文字はその通りに書き換える.青い文字は自分の環境に合わせて書き換える.緑の文字は拡張機能を使用するときに書き換える(取り敢えずは,緑の文字は無視する) - [[httpd.conf>https://polaris.star-dust.jp/Linux/apache/httpd.conf.html]] - extra/httpd-default.conf - extra/httpd-userdir.conf - extra/httpd-languages.conf (多分省略可能) - [[extra/httpd-default.conf>https://polaris.star-dust.jp/Linux/apache/httpd-default.conf.html]] - [[extra/httpd-userdir.conf>https://polaris.star-dust.jp/Linux/apache/httpd-userdir.conf.html]] - [[extra/httpd-languages.conf>https://polaris.star-dust.jp/Linux/apache/httpd-languages.conf.html]] (多分省略可能) *** 仮想ホスト - [[Example>./VirtualHost]] *** 2.2 との違い [#ie12c71f] - http://httpd.apache.org/docs/2.4/ja/upgrading.html **** 全ての module が shared化された? [#j7698817] - ''--enable-mods-shared=all'' でコンパイルした方がいい? - CGI用 ''cgid_module'' - SSI用 ''include_module'' - Userdir用 ''userdir_module'' - Language用 ''negotiation_module'' **** Options の Override [#zdea07e6] - 2.2のやり方だと ''Option ... not allowed here'' のエラーがでる. - ''AllowOverride Options=ALL'' とする. **** アクセス許可 [#ca5fc989] - アクセス許可の書き方が変わった. - 禁止: ''Require all denied'' - 許可: ''Require all granted''