質問編集履歴
1
試したことを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -145,3 +145,75 @@
|
|
145
145
|
記述順序変更や末尾スラッシュ削除、細かな修正を何度も繰り返したものの、改善されず・・。
|
146
146
|
|
147
147
|
無効な設定にした場合はページ表示されなくなる為、「/etc/httpd/conf.d/vhost.conf」が反映されていること確実であると思われます。
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
---
|
152
|
+
|
153
|
+
```
|
154
|
+
|
155
|
+
# httpd -t -D DUMP_CONFIG 2>/dev/null | grep -n -B 1 '^# In'
|
156
|
+
|
157
|
+
1:# In file: /etc/httpd/conf/httpd.conf
|
158
|
+
|
159
|
+
--
|
160
|
+
|
161
|
+
80-EnableSendfile on
|
162
|
+
|
163
|
+
81:# In file: /etc/httpd/conf.d/autoindex.conf
|
164
|
+
|
165
|
+
--
|
166
|
+
|
167
|
+
154-IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
|
168
|
+
|
169
|
+
155:# In file: /etc/httpd/conf.d/phpMyAdmin.conf
|
170
|
+
|
171
|
+
--
|
172
|
+
|
173
|
+
204-</Directory>
|
174
|
+
|
175
|
+
205:# In file: /etc/httpd/conf.d/ssl.conf
|
176
|
+
|
177
|
+
--
|
178
|
+
|
179
|
+
252-</VirtualHost>
|
180
|
+
|
181
|
+
253:# In file: /etc/httpd/conf.d/userdir.conf
|
182
|
+
|
183
|
+
--
|
184
|
+
|
185
|
+
264-</Directory>
|
186
|
+
|
187
|
+
265:# In file: /etc/httpd/conf.d/vhost.conf
|
188
|
+
|
189
|
+
--
|
190
|
+
|
191
|
+
313-</VirtualHost>
|
192
|
+
|
193
|
+
314:# In file: /etc/httpd/conf/httpd-le-ssl.conf
|
194
|
+
|
195
|
+
--
|
196
|
+
|
197
|
+
326- SSLCertificateKeyFile /etc/letsencrypt/live/3810.pro/privkey.pem
|
198
|
+
|
199
|
+
327:# In file: /etc/letsencrypt/options-ssl-apache.conf
|
200
|
+
|
201
|
+
--
|
202
|
+
|
203
|
+
341- LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
|
204
|
+
|
205
|
+
342:# In file: /etc/httpd/conf/httpd-le-ssl.conf
|
206
|
+
|
207
|
+
--
|
208
|
+
|
209
|
+
345-</VirtualHost>
|
210
|
+
|
211
|
+
346:# In file: /etc/httpd/conf.d/welcome.conf
|
212
|
+
|
213
|
+
```
|
214
|
+
|
215
|
+
---
|
216
|
+
|
217
|
+
https://teratail.com/questions/138373
|
218
|
+
|
219
|
+
からヒントを得て、SSLの場合は設定を複数記述する必要性があることを理解しました。
|