ubuntu:apache

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
ubuntu:apache [2026/06/07 21:13] – 作成 hermitubuntu:apache [2026/06/15 20:59] (現在) – 削除 hermit
行 1: 行 1:
-====== Apache ====== 
- 
-ここは「Apache」のページです。Apache の設定について書いています。 
-前提として環境は Ubuntu Server 24.04 LTS になります。 
- 
-===== Apache のインストール ===== 
- 
-インストールは簡単です。apt コマンドでインストールできます。 
- 
-  apt install apache2  
- 
-===== Apache の設定 ===== 
- 
-まずは、最低限の設定を行います。複数の設定ファイルを修正します。 
- 
-/etc/apache2/apache2.conf のファイルの最後に、以下のパラメーターを追加。 
- 
-  ServerName www.example.com  
- 
-/etc/apache2/conf-enabled/security.conf は、以下のパラメーターがあるので値を次のように変更します。 
- 
-  ServerTokens Prod 
-  ServerSignature Off 
- 
- 
-/etc/apache2/mods-enabled/dir.conf は、 
- DirectoryIndex index.html 
- 
- /etc/apache2/sites-enabled/000-default.conf  
- ServerAdmin www@example.com 
- 
  
  • ubuntu/apache.1780834390.txt.gz
  • 最終更新: 2026/06/07 21:13
  • by hermit