質問編集履歴

3

変更点の追加

2017/11/24 10:01

投稿

tidavest
tidavest

スコア595

test CHANGED
File without changes
test CHANGED
@@ -47,3 +47,45 @@
47
47
  DNSのアドレスは、2桁が4つならんでます。この入力をしなくても
48
48
 
49
49
  良いのでしょうか。
50
+
51
+
52
+
53
+ <VirtualHost *:80.80.80.80>
54
+
55
+ ServerAdmin www.???.tk
56
+
57
+ DocumentRoot "/opt/lampp/hdocs/laravel/public"
58
+
59
+ ServerName www.???.tk
60
+
61
+ ServerAlias www.???.tk
62
+
63
+ ErrorLog "logs/dummy-host.example.com-error_log"
64
+
65
+ CustomLog "logs/dummy-host.example.com-access_log" common
66
+
67
+ </VirtualHost>
68
+
69
+
70
+
71
+ <VirtualHost *:80.80.81.81>
72
+
73
+ ServerAdmin www.???.tk
74
+
75
+ DocumentRoot "/opt/lampp/hdocs/laravel/public"
76
+
77
+ ServerName www.???.tk
78
+
79
+ ErrorLog "logs/dummy-host2.example.com-error_log"
80
+
81
+ CustomLog "logs/dummy-host2.example.com-access_log" common
82
+
83
+ </VirtualHost>
84
+
85
+ で、変更しました。
86
+
87
+ しかし、ローカル localhost/laravel/publicにアクセスすると
88
+
89
+ You don't have permission to access the requested object. It is either read-protected or not readable by the server.
90
+
91
+ のエラーです。

2

修正箇所あり。

2017/11/24 10:01

投稿

tidavest
tidavest

スコア595

test CHANGED
File without changes
test CHANGED
@@ -1,8 +1,6 @@
1
1
  httpd-vhosts.confの設定について教えてください
2
2
 
3
3
  ```
4
-
5
- <VirtualHost *:80>
6
4
 
7
5
  <VirtualHost *:80>
8
6
 

1

修正箇所あり。

2017/11/24 09:20

投稿

tidavest
tidavest

スコア595

test CHANGED
File without changes
test CHANGED
File without changes