質問編集履歴
2
質問の詳細を追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,4 +20,28 @@
|
|
20
20
|
|
21
21
|
と表示されてしまいます。
|
22
22
|
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
/etc/apache2/httpd.confの設定では
|
28
|
+
|
29
|
+
DocumentRootは
|
30
|
+
|
31
|
+
DocumentRoot "/Library/WebServer/Documents"
|
32
|
+
|
33
|
+
<Directory "/Library/WebServer/Documents">
|
34
|
+
|
35
|
+
となっております。
|
36
|
+
|
37
|
+
index.htmlはDocumentsフォルダ直下にあります。
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
また、そもそもどうして[上記サイト](https://qiita.com/haneri/items/7110ce24e74f9566de8b)の設定でhttp://localhost/~{username}を叩くと/Users/{username}/Sitesにアクセスできるようになるのでしょうか?
|
42
|
+
|
43
|
+
設定ファイルには"~"という記号はありませんし、"~{username}"が示す文字列の意味が分かりません。
|
44
|
+
|
45
|
+
|
46
|
+
|
23
47
|
理由が分からず困っております。どなたかご教示いただけないでしょうか?
|
1
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
localhostにアクセスするとエラーになってしまう
|
test
CHANGED
File without changes
|