Apache Let’s Encrypt の自動更新が失敗して、httpd (pid ~) already running と出てた。 事象 crontabに 00 03 * * * /usr/bin/certbot renew --post-hook "systemctl restart httpd.service" と書いて、Let's Encrypt自動更新する... 2022.08.08 Apache
Apache AH02572: Failed to configure at least one certificate and key for アドレス:ポート が出ちゃうのはVirtualHostだけで証明書指定しているからでは? 環境 Rocky Linux8(RHEL8系) Apache2.4 事象 Apacheを起動しようとすると起動されない。 ssl_error_logを見てみると、以下のメッセージが吐かれている。 AH02572: Fail... 2022.08.04 Apache
Apache AH00548: NameVirtualHost has no effect and will be removed in the next release 環境 Rocky Linux8 Apache2.4 事象 Apache起動の際に以下のメッセージを出力。 AH00548: NameVirtualHost has no effect and will be removed ... 2022.08.04 Apache
Apache Basic認証かける手順、やり方(基本) WebサーバにAapcheを利用していて、Basic認証かける基本的な手順、やり方、方法。やり方以下、全体の流れ。 .htapasswdを用意する .htaccessを用意する .hatpasswd と、.htaacces... 2022.08.02 Apache
Apache 大塚商会アルファメールプレミアで、htmlファイルでphpが動くようにする やり方 大塚商会アルファメールプレミアで、htmlファイルでphpが動くようにするには、 /.htaccess に以下を記述する。 <FilesMatch "\.html$"> AddType application/x-ht... 2022.08.01 Apache
Apache BrowserMatchディレクティブ BrowserMatchディレクティブとは 説明: HTTP User-Agent に基づいて環境変数を設定する User-AgentっていうのはWebブラウザなどですね。 2022.07.29 Apache
Apache AddHandler ディレクティブ AddHandler ディレクティブとは ファイル名の拡張子を指定されたハンドラにマップする SSIとか使うときに使うアル。 2022.07.29 Apache
Apache ForceLanguagePriority ディレクティブ ForceLanguagePriority ディレクティブとは ForceLanguagePriority ディレクティブは 要求に合うドキュメントを一つだけ返すことができないときに、 LanguagePriority ディレクティブ... 2022.07.29 Apache
Apache LanguagePriorityディレクティブ LanguagePriorityディレクティブとは LanguagePriorityは、MultiViews リクエストを扱うときに、クライアントが優先順位を提供していない場合の 言語の優先順位を設定します。 Examp... 2022.07.29 Apache
Apache AddLanguage ディレクティブは使うことは無いじゃろうな AddLanguage ディレクティブとは AddLanguage ディレクティブは、与えられた拡張子を指定された content language にマップします。 設定例 例 AddEncoding x-compres... 2022.07.29 Apache