質問編集履歴

3

ssl.conf追記

2019/02/24 14:54

投稿

ginuser
ginuser

スコア13

test CHANGED
File without changes
test CHANGED
@@ -82,512 +82,124 @@
82
82
 
83
83
  追追記)
84
84
 
85
- httpd.confの中身です。
86
-
87
- ```ここに言語を入力
88
-
89
- [ec2-user@myaws conf]$ cat httpd.conf
90
-
91
-
92
-
93
- ServerRoot "/etc/httpd"
94
-
95
-
96
-
97
- Listen 80
98
-
99
-
100
-
101
- Include conf.modules.d/*.conf
102
-
103
-
104
-
105
- User apache
106
-
107
- Group apache
108
-
109
-
110
-
111
- ServerAdmin root@localhost
112
-
113
-
114
-
115
- ServerName myaws
116
-
117
-
118
-
119
- <Directory />
120
-
121
- AllowOverride All
85
+ ```ここに言語を入力
86
+
87
+ [ec2-user@myaws conf.d]$ cat ssl.conf
88
+
89
+
90
+
91
+ Listen 443 https
92
+
93
+
94
+
95
+ SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
96
+
97
+
98
+
99
+ SSLSessionCache shmcb:/run/httpd/sslcache(512000)
100
+
101
+ SSLSessionCacheTimeout 300
102
+
103
+
104
+
105
+ SSLRandomSeed startup file:/dev/urandom 256
106
+
107
+ SSLRandomSeed connect builtin
108
+
109
+ #SSLRandomSeed startup file:/dev/random 512
110
+
111
+ #SSLRandomSeed connect file:/dev/random 512
112
+
113
+ #SSLRandomSeed connect file:/dev/urandom 512
114
+
115
+
116
+
117
+ SSLCryptoDevice builtin
118
+
119
+ #SSLCryptoDevice ubsec
120
+
121
+
122
+
123
+
124
+
125
+ <VirtualHost _default_:443>
126
+
127
+
128
+
129
+ DocumentRoot "/var/www/html"
130
+
131
+
132
+
133
+ ServerName myaws:443
134
+
135
+
136
+
137
+ ErrorLog logs/ssl_error_log
138
+
139
+ TransferLog logs/ssl_access_log
140
+
141
+ LogLevel warn
142
+
143
+
144
+
145
+ SSLEngine on
146
+
147
+
148
+
149
+ SSLProtocol all -SSLv3
150
+
151
+ SSLProxyProtocol all -SSLv3
152
+
153
+
154
+
155
+ SSLHonorCipherOrder on
156
+
157
+
158
+
159
+ SSLCertificateFile /etc/letsencrypt/live/mysite.com/cert.pem
160
+
161
+
162
+
163
+ SSLCertificateKeyFile /etc/letsencrypt/live/mysite.com/privkey.pem
164
+
165
+
166
+
167
+ SSLCertificateChainFile /etc/letsencrypt/live/mysite.com/chain.pem
168
+
169
+
170
+
171
+ <FilesMatch ".(cgi|shtml|phtml|php)$">
172
+
173
+ SSLOptions +StdEnvVars
174
+
175
+ </FilesMatch>
176
+
177
+ <Directory "/var/www/cgi-bin">
178
+
179
+ SSLOptions +StdEnvVars
122
180
 
123
181
  </Directory>
124
182
 
125
183
 
126
184
 
127
- DocumentRoot "/var/www/html"
128
-
129
-
130
-
131
- <Directory "/var/www">
132
-
133
- AllowOverride All
134
-
135
- # Allow open access:
136
-
137
- Require all granted
138
-
139
- </Directory>
140
-
141
-
142
-
143
- # Further relax access to the default document root:
144
-
145
- <Directory "/var/www/html">
146
-
147
- #
148
-
149
- # Possible values for the Options directive are "None", "All",
150
-
151
- # or any combination of:
152
-
153
- # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
154
-
155
- #
156
-
157
- # Note that "MultiViews" must be named *explicitly* --- "Options All"
158
-
159
- # doesn't give it to you.
160
-
161
- #
162
-
163
- # The Options directive is both complicated and important. Please see
164
-
165
- # http://httpd.apache.org/docs/2.4/mod/core.html#options
166
-
167
- # for more information.
168
-
169
- #
170
-
171
- Options Indexes FollowSymLinks
172
-
173
-
174
-
175
- #
176
-
177
- # AllowOverride controls what directives may be placed in .htaccess files.
178
-
179
- # It can be "All", "None", or any combination of the keywords:
180
-
181
- # Options FileInfo AuthConfig Limit
182
-
183
- #
184
-
185
- AllowOverride All
186
-
187
-
188
-
189
- #
190
-
191
- # Controls who can get stuff from this server.
192
-
193
- #
194
-
195
- Require all granted
196
-
197
- </Directory>
198
-
199
-
200
-
201
- #
202
-
203
- # DirectoryIndex: sets the file that Apache will serve if a directory
204
-
205
- # is requested.
206
-
207
- #
208
-
209
- <IfModule dir_module>
210
-
211
- DirectoryIndex index.php index.html
212
-
213
- </IfModule>
214
-
215
-
216
-
217
- #
218
-
219
- # The following lines prevent .htaccess and .htpasswd files from being
220
-
221
- # viewed by Web clients.
222
-
223
- #
224
-
225
- <Files ".ht*">
226
-
227
- Require all denied
228
-
229
- </Files>
230
-
231
-
232
-
233
- #
234
-
235
- # ErrorLog: The location of the error log file.
236
-
237
- # If you do not specify an ErrorLog directive within a <VirtualHost>
238
-
239
- # container, error messages relating to that virtual host will be
240
-
241
- # logged here. If you *do* define an error logfile for a <VirtualHost>
242
-
243
- # container, that host's errors will be logged there and not here.
244
-
245
- #
246
-
247
- ErrorLog "logs/error_log"
248
-
249
-
250
-
251
- #
252
-
253
- # LogLevel: Control the number of messages logged to the error_log.
254
-
255
- # Possible values include: debug, info, notice, warn, error, crit,
256
-
257
- # alert, emerg.
258
-
259
- #
260
-
261
- LogLevel warn
262
-
263
-
264
-
265
- <IfModule log_config_module>
266
-
267
- #
268
-
269
- # The following directives define some format nicknames for use with
270
-
271
- # a CustomLog directive (see below).
272
-
273
- #
274
-
275
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
276
-
277
- LogFormat "%h %l %u %t \"%r\" %>s %b" common
278
-
279
-
280
-
281
- <IfModule logio_module>
282
-
283
- # You need to enable mod_logio.c to use %I and %O
284
-
285
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
286
-
287
- </IfModule>
288
-
289
-
290
-
291
- #
292
-
293
- # The location and format of the access logfile (Common Logfile Format).
294
-
295
- # If you do not define any access logfiles within a <VirtualHost>
296
-
297
- # container, they will be logged here. Contrariwise, if you *do*
298
-
299
- # define per-<VirtualHost> access logfiles, transactions will be
300
-
301
- # logged therein and *not* in this file.
302
-
303
- #
304
-
305
- #CustomLog "logs/access_log" common
306
-
307
-
308
-
309
- #
310
-
311
- # If you prefer a logfile with access, agent, and referer information
312
-
313
- # (Combined Logfile Format) you can use the following directive.
314
-
315
- #
316
-
317
- CustomLog "logs/access_log" combined
318
-
319
- </IfModule>
320
-
321
-
322
-
323
- <IfModule alias_module>
324
-
325
- #
326
-
327
- # Redirect: Allows you to tell clients about documents that used to
328
-
329
- # exist in your server's namespace, but do not anymore. The client
330
-
331
- # will make a new request for the document at its new location.
332
-
333
- # Example:
334
-
335
- # Redirect permanent /foo http://www.example.com/bar
336
-
337
-
338
-
339
- #
340
-
341
- # Alias: Maps web paths into filesystem paths and is used to
342
-
343
- # access content that does not live under the DocumentRoot.
344
-
345
- # Example:
346
-
347
- # Alias /webpath /full/filesystem/path
348
-
349
- #
350
-
351
- # If you include a trailing / on /webpath then the server will
352
-
353
- # require it to be present in the URL. You will also likely
354
-
355
- # need to provide a <Directory> section to allow access to
356
-
357
- # the filesystem path.
358
-
359
-
360
-
361
- #
362
-
363
- # ScriptAlias: This controls which directories contain server scripts.
364
-
365
- # ScriptAliases are essentially the same as Aliases, except that
366
-
367
- # documents in the target directory are treated as applications and
368
-
369
- # run by the server when requested rather than as documents sent to the
370
-
371
- # client. The same rules about trailing "/" apply to ScriptAlias
372
-
373
- # directives as to Alias.
374
-
375
- #
376
-
377
- ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
378
-
379
-
380
-
381
- </IfModule>
382
-
383
-
384
-
385
- #
386
-
387
- # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
388
-
389
- # CGI directory exists, if you have that configured.
390
-
391
- #
392
-
393
- <Directory "/var/www/cgi-bin">
394
-
395
- AllowOverride All
396
-
397
- Options None
398
-
399
- Require all granted
400
-
401
- </Directory>
402
-
403
-
404
-
405
- <IfModule mime_module>
406
-
407
- #
408
-
409
- # TypesConfig points to the file containing the list of mappings from
410
-
411
- # filename extension to MIME-type.
412
-
413
- #
414
-
415
- TypesConfig /etc/mime.types
416
-
417
-
418
-
419
- #
420
-
421
- # AddType allows you to add to or override the MIME configuration
422
-
423
- # file specified in TypesConfig for specific file types.
424
-
425
- #
426
-
427
- #AddType application/x-gzip .tgz
428
-
429
- #
430
-
431
- # AddEncoding allows you to have certain browsers uncompress
432
-
433
- # information on the fly. Note: Not all browsers support this.
434
-
435
- #
436
-
437
- #AddEncoding x-compress .Z
438
-
439
- #AddEncoding x-gzip .gz .tgz
440
-
441
- #
442
-
443
- # If the AddEncoding directives above are commented-out, then you
444
-
445
- # probably should define those extensions to indicate media types:
446
-
447
- #
448
-
449
- AddType application/x-compress .Z
450
-
451
- AddType application/x-gzip .gz .tgz
452
-
453
-
454
-
455
- #
456
-
457
- # AddHandler allows you to map certain file extensions to "handlers":
458
-
459
- # actions unrelated to filetype. These can be either built into the server
460
-
461
- # or added with the Action directive (see below)
462
-
463
- #
464
-
465
- # To use CGI scripts outside of ScriptAliased directories:
466
-
467
- # (You will also need to add "ExecCGI" to the "Options" directive.)
468
-
469
- #
470
-
471
- #AddHandler cgi-script .cgi
472
-
473
-
474
-
475
- # For type maps (negotiated resources):
476
-
477
- #AddHandler type-map var
478
-
479
-
480
-
481
- #
482
-
483
- # Filters allow you to process content before it is sent to the client.
484
-
485
- #
486
-
487
- # To parse .shtml files for server-side includes (SSI):
488
-
489
- # (You will also need to add "Includes" to the "Options" directive.)
490
-
491
- #
492
-
493
- AddType text/html .shtml
494
-
495
- AddOutputFilter INCLUDES .shtml
496
-
497
- </IfModule>
498
-
499
-
500
-
501
- #
502
-
503
- # Specify a default charset for all content served; this enables
504
-
505
- # interpretation of all content as UTF-8 by default. To use the
506
-
507
- # default browser choice (ISO-8859-1), or to allow the META tags
508
-
509
- # in HTML content to override this choice, comment out this
510
-
511
- # directive:
512
-
513
- #
514
-
515
- AddDefaultCharset UTF-8
516
-
517
-
518
-
519
- <IfModule mime_magic_module>
520
-
521
- #
522
-
523
- # The mod_mime_magic module allows the server to use various hints from the
524
-
525
- # contents of the file itself to determine its type. The MIMEMagicFile
526
-
527
- # directive tells the module where the hint definitions are located.
528
-
529
- #
530
-
531
- MIMEMagicFile conf/magic
532
-
533
- </IfModule>
534
-
535
-
536
-
537
- #
538
-
539
- # Customizable error responses come in three flavors:
540
-
541
- # 1) plain text 2) local redirects 3) external redirects
542
-
543
- #
544
-
545
- # Some examples:
546
-
547
- #ErrorDocument 500 "The server made a boo boo."
548
-
549
- #ErrorDocument 404 /missing.html
550
-
551
- #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
552
-
553
- #ErrorDocument 402 http://www.example.com/subscription_info.html
554
-
555
- #
556
-
557
-
558
-
559
- #
560
-
561
- # EnableMMAP and EnableSendfile: On systems that support it,
562
-
563
- # memory-mapping or the sendfile syscall may be used to deliver
564
-
565
- # files. This usually improves server performance, but must
566
-
567
- # be turned off when serving from networked-mounted
568
-
569
- # filesystems or if support for these functions is otherwise
570
-
571
- # broken on your system.
572
-
573
- # Defaults if commented: EnableMMAP On, EnableSendfile Off
574
-
575
- #
576
-
577
- #EnableMMAP off
578
-
579
- EnableSendfile on
580
-
581
-
582
-
583
- # Supplemental configuration
584
-
585
- #
586
-
587
- # Load config files in the "/etc/httpd/conf.d" directory, if any.
588
-
589
- IncludeOptional conf.d/*.conf
590
-
591
-
592
-
593
- ```
185
+ BrowserMatch "MSIE [2-5]"nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
186
+
187
+
188
+
189
+ CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
190
+
191
+
192
+
193
+ ServerAlias mysite.com
194
+
195
+ #SSLCertificateFile /etc/letsencrypt/live/mysite.com/fullchain.pem
196
+
197
+ #SSLCertificateKeyFile /etc/letsencrypt/live/mysite.com/privkey.pem
198
+
199
+ Include /etc/letsencrypt/options-ssl-apache.conf
200
+
201
+ </VirtualHost>
202
+
203
+
204
+
205
+ ```

2

httpd,conf追記

2019/02/24 14:54

投稿

ginuser
ginuser

スコア13

test CHANGED
File without changes
test CHANGED
@@ -77,3 +77,517 @@
77
77
  ![イメージ説明](dc04b79c091b2a032b55e3edb0482ef3.png)
78
78
 
79
79
  尚Responseの方はタイムアウト終了後空白でした。
80
+
81
+
82
+
83
+ 追追記)
84
+
85
+ httpd.confの中身です。
86
+
87
+ ```ここに言語を入力
88
+
89
+ [ec2-user@myaws conf]$ cat httpd.conf
90
+
91
+
92
+
93
+ ServerRoot "/etc/httpd"
94
+
95
+
96
+
97
+ Listen 80
98
+
99
+
100
+
101
+ Include conf.modules.d/*.conf
102
+
103
+
104
+
105
+ User apache
106
+
107
+ Group apache
108
+
109
+
110
+
111
+ ServerAdmin root@localhost
112
+
113
+
114
+
115
+ ServerName myaws
116
+
117
+
118
+
119
+ <Directory />
120
+
121
+ AllowOverride All
122
+
123
+ </Directory>
124
+
125
+
126
+
127
+ DocumentRoot "/var/www/html"
128
+
129
+
130
+
131
+ <Directory "/var/www">
132
+
133
+ AllowOverride All
134
+
135
+ # Allow open access:
136
+
137
+ Require all granted
138
+
139
+ </Directory>
140
+
141
+
142
+
143
+ # Further relax access to the default document root:
144
+
145
+ <Directory "/var/www/html">
146
+
147
+ #
148
+
149
+ # Possible values for the Options directive are "None", "All",
150
+
151
+ # or any combination of:
152
+
153
+ # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
154
+
155
+ #
156
+
157
+ # Note that "MultiViews" must be named *explicitly* --- "Options All"
158
+
159
+ # doesn't give it to you.
160
+
161
+ #
162
+
163
+ # The Options directive is both complicated and important. Please see
164
+
165
+ # http://httpd.apache.org/docs/2.4/mod/core.html#options
166
+
167
+ # for more information.
168
+
169
+ #
170
+
171
+ Options Indexes FollowSymLinks
172
+
173
+
174
+
175
+ #
176
+
177
+ # AllowOverride controls what directives may be placed in .htaccess files.
178
+
179
+ # It can be "All", "None", or any combination of the keywords:
180
+
181
+ # Options FileInfo AuthConfig Limit
182
+
183
+ #
184
+
185
+ AllowOverride All
186
+
187
+
188
+
189
+ #
190
+
191
+ # Controls who can get stuff from this server.
192
+
193
+ #
194
+
195
+ Require all granted
196
+
197
+ </Directory>
198
+
199
+
200
+
201
+ #
202
+
203
+ # DirectoryIndex: sets the file that Apache will serve if a directory
204
+
205
+ # is requested.
206
+
207
+ #
208
+
209
+ <IfModule dir_module>
210
+
211
+ DirectoryIndex index.php index.html
212
+
213
+ </IfModule>
214
+
215
+
216
+
217
+ #
218
+
219
+ # The following lines prevent .htaccess and .htpasswd files from being
220
+
221
+ # viewed by Web clients.
222
+
223
+ #
224
+
225
+ <Files ".ht*">
226
+
227
+ Require all denied
228
+
229
+ </Files>
230
+
231
+
232
+
233
+ #
234
+
235
+ # ErrorLog: The location of the error log file.
236
+
237
+ # If you do not specify an ErrorLog directive within a <VirtualHost>
238
+
239
+ # container, error messages relating to that virtual host will be
240
+
241
+ # logged here. If you *do* define an error logfile for a <VirtualHost>
242
+
243
+ # container, that host's errors will be logged there and not here.
244
+
245
+ #
246
+
247
+ ErrorLog "logs/error_log"
248
+
249
+
250
+
251
+ #
252
+
253
+ # LogLevel: Control the number of messages logged to the error_log.
254
+
255
+ # Possible values include: debug, info, notice, warn, error, crit,
256
+
257
+ # alert, emerg.
258
+
259
+ #
260
+
261
+ LogLevel warn
262
+
263
+
264
+
265
+ <IfModule log_config_module>
266
+
267
+ #
268
+
269
+ # The following directives define some format nicknames for use with
270
+
271
+ # a CustomLog directive (see below).
272
+
273
+ #
274
+
275
+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
276
+
277
+ LogFormat "%h %l %u %t \"%r\" %>s %b" common
278
+
279
+
280
+
281
+ <IfModule logio_module>
282
+
283
+ # You need to enable mod_logio.c to use %I and %O
284
+
285
+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
286
+
287
+ </IfModule>
288
+
289
+
290
+
291
+ #
292
+
293
+ # The location and format of the access logfile (Common Logfile Format).
294
+
295
+ # If you do not define any access logfiles within a <VirtualHost>
296
+
297
+ # container, they will be logged here. Contrariwise, if you *do*
298
+
299
+ # define per-<VirtualHost> access logfiles, transactions will be
300
+
301
+ # logged therein and *not* in this file.
302
+
303
+ #
304
+
305
+ #CustomLog "logs/access_log" common
306
+
307
+
308
+
309
+ #
310
+
311
+ # If you prefer a logfile with access, agent, and referer information
312
+
313
+ # (Combined Logfile Format) you can use the following directive.
314
+
315
+ #
316
+
317
+ CustomLog "logs/access_log" combined
318
+
319
+ </IfModule>
320
+
321
+
322
+
323
+ <IfModule alias_module>
324
+
325
+ #
326
+
327
+ # Redirect: Allows you to tell clients about documents that used to
328
+
329
+ # exist in your server's namespace, but do not anymore. The client
330
+
331
+ # will make a new request for the document at its new location.
332
+
333
+ # Example:
334
+
335
+ # Redirect permanent /foo http://www.example.com/bar
336
+
337
+
338
+
339
+ #
340
+
341
+ # Alias: Maps web paths into filesystem paths and is used to
342
+
343
+ # access content that does not live under the DocumentRoot.
344
+
345
+ # Example:
346
+
347
+ # Alias /webpath /full/filesystem/path
348
+
349
+ #
350
+
351
+ # If you include a trailing / on /webpath then the server will
352
+
353
+ # require it to be present in the URL. You will also likely
354
+
355
+ # need to provide a <Directory> section to allow access to
356
+
357
+ # the filesystem path.
358
+
359
+
360
+
361
+ #
362
+
363
+ # ScriptAlias: This controls which directories contain server scripts.
364
+
365
+ # ScriptAliases are essentially the same as Aliases, except that
366
+
367
+ # documents in the target directory are treated as applications and
368
+
369
+ # run by the server when requested rather than as documents sent to the
370
+
371
+ # client. The same rules about trailing "/" apply to ScriptAlias
372
+
373
+ # directives as to Alias.
374
+
375
+ #
376
+
377
+ ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
378
+
379
+
380
+
381
+ </IfModule>
382
+
383
+
384
+
385
+ #
386
+
387
+ # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
388
+
389
+ # CGI directory exists, if you have that configured.
390
+
391
+ #
392
+
393
+ <Directory "/var/www/cgi-bin">
394
+
395
+ AllowOverride All
396
+
397
+ Options None
398
+
399
+ Require all granted
400
+
401
+ </Directory>
402
+
403
+
404
+
405
+ <IfModule mime_module>
406
+
407
+ #
408
+
409
+ # TypesConfig points to the file containing the list of mappings from
410
+
411
+ # filename extension to MIME-type.
412
+
413
+ #
414
+
415
+ TypesConfig /etc/mime.types
416
+
417
+
418
+
419
+ #
420
+
421
+ # AddType allows you to add to or override the MIME configuration
422
+
423
+ # file specified in TypesConfig for specific file types.
424
+
425
+ #
426
+
427
+ #AddType application/x-gzip .tgz
428
+
429
+ #
430
+
431
+ # AddEncoding allows you to have certain browsers uncompress
432
+
433
+ # information on the fly. Note: Not all browsers support this.
434
+
435
+ #
436
+
437
+ #AddEncoding x-compress .Z
438
+
439
+ #AddEncoding x-gzip .gz .tgz
440
+
441
+ #
442
+
443
+ # If the AddEncoding directives above are commented-out, then you
444
+
445
+ # probably should define those extensions to indicate media types:
446
+
447
+ #
448
+
449
+ AddType application/x-compress .Z
450
+
451
+ AddType application/x-gzip .gz .tgz
452
+
453
+
454
+
455
+ #
456
+
457
+ # AddHandler allows you to map certain file extensions to "handlers":
458
+
459
+ # actions unrelated to filetype. These can be either built into the server
460
+
461
+ # or added with the Action directive (see below)
462
+
463
+ #
464
+
465
+ # To use CGI scripts outside of ScriptAliased directories:
466
+
467
+ # (You will also need to add "ExecCGI" to the "Options" directive.)
468
+
469
+ #
470
+
471
+ #AddHandler cgi-script .cgi
472
+
473
+
474
+
475
+ # For type maps (negotiated resources):
476
+
477
+ #AddHandler type-map var
478
+
479
+
480
+
481
+ #
482
+
483
+ # Filters allow you to process content before it is sent to the client.
484
+
485
+ #
486
+
487
+ # To parse .shtml files for server-side includes (SSI):
488
+
489
+ # (You will also need to add "Includes" to the "Options" directive.)
490
+
491
+ #
492
+
493
+ AddType text/html .shtml
494
+
495
+ AddOutputFilter INCLUDES .shtml
496
+
497
+ </IfModule>
498
+
499
+
500
+
501
+ #
502
+
503
+ # Specify a default charset for all content served; this enables
504
+
505
+ # interpretation of all content as UTF-8 by default. To use the
506
+
507
+ # default browser choice (ISO-8859-1), or to allow the META tags
508
+
509
+ # in HTML content to override this choice, comment out this
510
+
511
+ # directive:
512
+
513
+ #
514
+
515
+ AddDefaultCharset UTF-8
516
+
517
+
518
+
519
+ <IfModule mime_magic_module>
520
+
521
+ #
522
+
523
+ # The mod_mime_magic module allows the server to use various hints from the
524
+
525
+ # contents of the file itself to determine its type. The MIMEMagicFile
526
+
527
+ # directive tells the module where the hint definitions are located.
528
+
529
+ #
530
+
531
+ MIMEMagicFile conf/magic
532
+
533
+ </IfModule>
534
+
535
+
536
+
537
+ #
538
+
539
+ # Customizable error responses come in three flavors:
540
+
541
+ # 1) plain text 2) local redirects 3) external redirects
542
+
543
+ #
544
+
545
+ # Some examples:
546
+
547
+ #ErrorDocument 500 "The server made a boo boo."
548
+
549
+ #ErrorDocument 404 /missing.html
550
+
551
+ #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
552
+
553
+ #ErrorDocument 402 http://www.example.com/subscription_info.html
554
+
555
+ #
556
+
557
+
558
+
559
+ #
560
+
561
+ # EnableMMAP and EnableSendfile: On systems that support it,
562
+
563
+ # memory-mapping or the sendfile syscall may be used to deliver
564
+
565
+ # files. This usually improves server performance, but must
566
+
567
+ # be turned off when serving from networked-mounted
568
+
569
+ # filesystems or if support for these functions is otherwise
570
+
571
+ # broken on your system.
572
+
573
+ # Defaults if commented: EnableMMAP On, EnableSendfile Off
574
+
575
+ #
576
+
577
+ #EnableMMAP off
578
+
579
+ EnableSendfile on
580
+
581
+
582
+
583
+ # Supplemental configuration
584
+
585
+ #
586
+
587
+ # Load config files in the "/etc/httpd/conf.d" directory, if any.
588
+
589
+ IncludeOptional conf.d/*.conf
590
+
591
+
592
+
593
+ ```

1

画像を追加しました

2019/02/24 14:00

投稿

ginuser
ginuser

スコア13

test CHANGED
File without changes
test CHANGED
@@ -67,3 +67,13 @@
67
67
  どなたか上記のような現象に心当たりがございましたらお教えいただければと思います。
68
68
 
69
69
  よろしくお願いいたします。
70
+
71
+
72
+
73
+ 追記)
74
+
75
+ アクセス時のHTTPヘッダの中身です。
76
+
77
+ ![イメージ説明](dc04b79c091b2a032b55e3edb0482ef3.png)
78
+
79
+ 尚Responseの方はタイムアウト終了後空白でした。