unix:apache2
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| unix:apache2 [2025/08/10 12:54] – [見出し] editor | unix:apache2 [2025/11/09 07:44] (現在) – [接続できない] editor | ||
|---|---|---|---|
| 行 2: | 行 2: | ||
| ===== mod / site の登録・削除 (debian 系) ===== | ===== mod / site の登録・削除 (debian 系) ===== | ||
| - | | + | ==== site の登録・削除 ==== |
| - | a2dissite | + | |
| - | a2enmod | + | a2dissite |
| - | a2dismod | + | ==== module の登録・削除 ==== |
| + | a2enmod | ||
| + | a2dismod | ||
| ===== apache2 ===== | ===== apache2 ===== | ||
| 行 16: | 行 18: | ||
| * apache の設定に Listen " | * apache の設定に Listen " | ||
| + | |||
| + | ==== http から https へのリダイレクト ==== | ||
| + | 設定ファイル(.htaccess / conf ファイルなど) に以下を記載する。 | ||
| + | |||
| + | RewriteEngine on | ||
| + | RewriteCond %{HTTPS} off | ||
| + | RewriteRule ^(.*)$ https:// | ||
unix/apache2.1754830469.txt.gz · 最終更新: by editor
