teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

変更点の追加

2017/11/24 10:01

投稿

tidavest
tidavest

スコア595

title CHANGED
File without changes
body CHANGED
@@ -22,4 +22,25 @@
22
22
  が2つあるのが疑問ということと、
23
23
  最初の指定で、間違っている箇所は、ございませんでしょうか。
24
24
  DNSのアドレスは、2桁が4つならんでます。この入力をしなくても
25
- 良いのでしょうか。
25
+ 良いのでしょうか。
26
+
27
+ <VirtualHost *:80.80.80.80>
28
+ ServerAdmin www.???.tk
29
+ DocumentRoot "/opt/lampp/hdocs/laravel/public"
30
+ ServerName www.???.tk
31
+ ServerAlias www.???.tk
32
+ ErrorLog "logs/dummy-host.example.com-error_log"
33
+ CustomLog "logs/dummy-host.example.com-access_log" common
34
+ </VirtualHost>
35
+
36
+ <VirtualHost *:80.80.81.81>
37
+ ServerAdmin www.???.tk
38
+ DocumentRoot "/opt/lampp/hdocs/laravel/public"
39
+ ServerName www.???.tk
40
+ ErrorLog "logs/dummy-host2.example.com-error_log"
41
+ CustomLog "logs/dummy-host2.example.com-access_log" common
42
+ </VirtualHost>
43
+ で、変更しました。
44
+ しかし、ローカル localhost/laravel/publicにアクセスすると
45
+ You don't have permission to access the requested object. It is either read-protected or not readable by the server.
46
+ のエラーです。

2

修正箇所あり。

2017/11/24 10:01

投稿

tidavest
tidavest

スコア595

title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,5 @@
1
1
  httpd-vhosts.confの設定について教えてください
2
2
  ```
3
- <VirtualHost *:80>
4
3
  <VirtualHost *:80>
5
4
  ServerAdmin www.???.tk
6
5
  DocumentRoot "/opt/lampp/hdocs/laravel/public"

1

修正箇所あり。

2017/11/24 09:20

投稿

tidavest
tidavest

スコア595

title CHANGED
File without changes
body CHANGED
File without changes