質問編集履歴

1

vhost\.confについて追記致しました。

2017/04/20 10:59

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -85,3 +85,61 @@
85
85
 
86
86
 
87
87
  Indexesが有効になってると、ディレクトリ内の一覧が表示されるはずですが、403エラー Forbiddenになってしまいます。
88
+
89
+
90
+
91
+ ###その他のconfについて
92
+
93
+
94
+
95
+ vhost.confにて80ポートの設定はしております。
96
+
97
+ こちらでは、Optionsディレクティブを設定していますが、
98
+
99
+ VirtualHostコンテナ内なので、80番ポートのみ反映されると認識ですが、これが間違いなのでしょうか?
100
+
101
+ ```
102
+
103
+ <VirtualHost *:80>
104
+
105
+ ServerAdmin example@example.com
106
+
107
+ DocumentRoot /var/www/html
108
+
109
+ ServerName example.com:80
110
+
111
+ ServerAlias www.example.com
112
+
113
+ ErrorLog logs/error_log
114
+
115
+ CustomLog logs/access_log combined
116
+
117
+ <Directory "/var/www/html">
118
+
119
+ Options FollowSymLinks ExecCGI
120
+
121
+ AllowOverride All
122
+
123
+ Order allow,deny
124
+
125
+ Allow from all
126
+
127
+ </Directory>
128
+
129
+ ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
130
+
131
+ <Directory "/var/www/cgi-bin">
132
+
133
+ AllowOverride All
134
+
135
+ Options FollowSymLinks ExecCGI
136
+
137
+ Order allow,deny
138
+
139
+ Allow from all
140
+
141
+ </Directory>
142
+
143
+ </VirtualHost>
144
+
145
+ ```