質問編集履歴
2
http\.confの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,6 +24,222 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
+
=====httpd.confの内容==========================
|
28
|
+
|
29
|
+
ServerRoot "/etc/httpd"
|
30
|
+
|
31
|
+
Listen 80
|
32
|
+
|
33
|
+
# LoadModule foo_module modules/mod_foo.so
|
34
|
+
|
35
|
+
#
|
36
|
+
|
37
|
+
Include conf.modules.d/*.conf
|
38
|
+
|
39
|
+
User apache
|
40
|
+
|
41
|
+
Group apache
|
42
|
+
|
43
|
+
#
|
44
|
+
|
45
|
+
ServerAdmin root@localhost
|
46
|
+
|
47
|
+
ServerName test.ABC.co.jp:80
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
<Directory />
|
52
|
+
|
53
|
+
AllowOverride none
|
54
|
+
|
55
|
+
Require all denied
|
56
|
+
|
57
|
+
</Directory>
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
DocumentRoot "/usr/local/apache2/htdocs"
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
<Directory "/usr/local/apache2/htdocs/">
|
66
|
+
|
67
|
+
AllowOverride None
|
68
|
+
|
69
|
+
Require all granted
|
70
|
+
|
71
|
+
</Directory>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
<Directory "/usr/local/apache2/htdocs">
|
76
|
+
|
77
|
+
Options Includes ExecCGI FollowSymLinks
|
78
|
+
|
79
|
+
AllowOverride All
|
80
|
+
|
81
|
+
Require all granted
|
82
|
+
|
83
|
+
</Directory>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
<IfModule dir_module>
|
88
|
+
|
89
|
+
DirectoryIndex index.php
|
90
|
+
|
91
|
+
</IfModule>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<Files ".ht*">
|
96
|
+
|
97
|
+
ForceType text/html
|
98
|
+
|
99
|
+
SetOutputFilter INCLUDES
|
100
|
+
|
101
|
+
</Files>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
ErrorLog "logs/error_log"
|
106
|
+
|
107
|
+
LogLevel warn
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<IfModule log_config_module>
|
112
|
+
|
113
|
+
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
114
|
+
|
115
|
+
LogFormat "%h %l %u %t \"%r\" %>s %b" common
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<IfModule logio_module>
|
120
|
+
|
121
|
+
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
|
122
|
+
|
123
|
+
</IfModule>
|
124
|
+
|
125
|
+
CustomLog "logs/access_log" combined
|
126
|
+
|
127
|
+
</IfModule>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<IfModule alias_module>
|
132
|
+
|
133
|
+
<If "-n %{PATH_INFO}">
|
134
|
+
|
135
|
+
# 存在しないディレクトリがURLに含まれていれば、404 Not Found を返す
|
136
|
+
|
137
|
+
Redirect 404 /
|
138
|
+
|
139
|
+
</If>
|
140
|
+
|
141
|
+
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
|
142
|
+
|
143
|
+
</IfModule>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
<Directory "/var/www/cgi-bin">
|
148
|
+
|
149
|
+
AllowOverride None
|
150
|
+
|
151
|
+
Options None
|
152
|
+
|
153
|
+
Require all granted
|
154
|
+
|
155
|
+
</Directory>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
<IfModule mime_module>
|
160
|
+
|
161
|
+
TypesConfig /etc/mime.types
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
AddType application/x-compress .Z
|
166
|
+
|
167
|
+
AddType application/x-gzip .gz .tgz
|
168
|
+
|
169
|
+
AddType application/x-httpd-php .php .inc
|
170
|
+
|
171
|
+
AddHandler cgi-script .cgi .pl
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
AddType text/html .shtml
|
176
|
+
|
177
|
+
AddOutputFilter INCLUDES .shtml
|
178
|
+
|
179
|
+
</IfModule>
|
180
|
+
|
181
|
+
AddDefaultCharset off
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<IfModule mime_magic_module>
|
186
|
+
|
187
|
+
MIMEMagicFile conf/magic
|
188
|
+
|
189
|
+
</IfModule>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
EnableSendfile on
|
194
|
+
|
195
|
+
IncludeOptional conf.d/*.conf
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
Include conf/extra/httpd-default.conf
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<IfModule prefork.c>
|
204
|
+
|
205
|
+
StartServers 256
|
206
|
+
|
207
|
+
MinSpareServers 256
|
208
|
+
|
209
|
+
MaxSpareServers 256
|
210
|
+
|
211
|
+
ServerLimit 512
|
212
|
+
|
213
|
+
MaxRequestWorkers 512
|
214
|
+
|
215
|
+
MaxConnectionsPerChild 500
|
216
|
+
|
217
|
+
</IfModule>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
<IfModule worker.c>
|
222
|
+
|
223
|
+
ServerLimit 60
|
224
|
+
|
225
|
+
StartServers 2
|
226
|
+
|
227
|
+
MaxRequestWorkers 1500
|
228
|
+
|
229
|
+
MinSpareThreads 25
|
230
|
+
|
231
|
+
MaxSpareThreads 75
|
232
|
+
|
233
|
+
ThreadsPerChild 25
|
234
|
+
|
235
|
+
MaxConnectionsPerChild 2000
|
236
|
+
|
237
|
+
</IfModule>
|
238
|
+
|
239
|
+
Include conf/extra/php-fpm.conf
|
240
|
+
|
241
|
+
========================httpd.conf内容=============================
|
242
|
+
|
27
243
|
どこを修正すればいいでしょうか?
|
28
244
|
|
29
245
|
宜しくお願いします。
|
1
質問文の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,6 +14,16 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
+
外部の画像ファイルがあるサーバに、APIを利用して画像を表示し、その後、画面を
|
18
|
+
|
19
|
+
戻す動きをしています。
|
20
|
+
|
21
|
+
/var/log/php/のerrorlogには記載されません。
|
22
|
+
|
23
|
+
/var/log/httpd/のerrorlogに記載されています。
|
24
|
+
|
25
|
+
|
26
|
+
|
17
27
|
どこを修正すればいいでしょうか?
|
18
28
|
|
19
29
|
宜しくお願いします。
|