質問編集履歴
2
編集しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,9 @@
|
|
12
12
|
|
13
13
|
> TransferLog logs/ssl_access_log combined_fwd
|
14
14
|
|
15
|
-
> CustomLog logs/ssl_request_log
|
15
|
+
> CustomLog logs/ssl_request_log \
|
16
|
+
|
17
|
+
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" combined_fwd
|
16
18
|
|
17
19
|
|
18
20
|
|
@@ -30,6 +32,26 @@
|
|
30
32
|
|
31
33
|
|
32
34
|
|
35
|
+
228行目は下記になります
|
36
|
+
|
37
|
+
CustomLog logs/ssl_request_log \
|
38
|
+
|
39
|
+
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" combined_fwd
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
86行目のTransferLog にもcombined_fwdを適用させたいと思うのですが
|
46
|
+
|
47
|
+
TransferLogにcombined_fwdを書く事で下記のようにエラーになります
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
> Syntax error on line 86 of /etc/httpd/conf.d/ssl.conf:
|
52
|
+
|
53
|
+
> TransferLog takes one argument, the filename of the access log
|
54
|
+
|
33
55
|
|
34
56
|
|
35
57
|
httpd.confにX-Forwarded-For設定を入れればうまくいくと思うのですが
|
1
編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
ssl.confに
|
23
|
+
ssl.confに上記のようにLogFormatを記載して,configtestを実行するとエラーになります
|
24
24
|
|
25
25
|
|
26
26
|
|