回答編集履歴

2

訂正

2018/11/17 21:56

投稿

nullpon
nullpon

スコア5737

test CHANGED
@@ -1,3 +1,13 @@
1
+ まずは公式ドキュメントを参照しましょう。
2
+
3
+ つ[https://help.ubuntu.com/lts/serverguide/httpd.html.ja](https://help.ubuntu.com/lts/serverguide/httpd.html.ja)
4
+
5
+ 設定ファイルは*-availableに作成し、*-enabledにシンボリックリンクを作成して有効にします。
6
+
7
+ そのための専用コマンド(a2enmod/a2ensite)もあります。
8
+
9
+
10
+
1
11
  Welcomeページ&Indexesを無効にする。
2
12
 
3
13
  ```bash
@@ -37,11 +47,3 @@
37
47
  AllowOverride None
38
48
 
39
49
  ```
40
-
41
-
42
-
43
- つ[https://help.ubuntu.com/lts/serverguide/httpd.html.ja](https://help.ubuntu.com/lts/serverguide/httpd.html.ja)
44
-
45
- 設定ファイルは*-availableに作成し、*-enabledにシンボリックリンクを作成して有効にします。
46
-
47
- そのための専用コマンド(a2enmod/a2ensite)もあります。

1

追記

2018/11/17 21:56

投稿

nullpon
nullpon

スコア5737

test CHANGED
@@ -1,3 +1,5 @@
1
+ Welcomeページ&Indexesを無効にする。
2
+
1
3
  ```bash
2
4
 
3
5
  $ cd /var/www/html
@@ -35,3 +37,11 @@
35
37
  AllowOverride None
36
38
 
37
39
  ```
40
+
41
+
42
+
43
+ つ[https://help.ubuntu.com/lts/serverguide/httpd.html.ja](https://help.ubuntu.com/lts/serverguide/httpd.html.ja)
44
+
45
+ 設定ファイルは*-availableに作成し、*-enabledにシンボリックリンクを作成して有効にします。
46
+
47
+ そのための専用コマンド(a2enmod/a2ensite)もあります。