質問編集履歴
2
エラーログ追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -351,3 +351,41 @@
|
|
351
351
|
BrowserMatch " Konqueror/4" redirect-carefully
|
352
352
|
|
353
353
|
```
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
サーバエラーメッセージです。
|
358
|
+
|
359
|
+
httpd-dav.confにパスワード行あり(15:09頃)、パスワード行なし(15:13頃)のそれぞれでlinuxにログインしました。
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
access_log
|
364
|
+
|
365
|
+
```ここに言語を入力
|
366
|
+
|
367
|
+
192.168.x.xxx - - [10/Sep/2020:15:11:38 +0000] "OPTIONS /uploads HTTP/1.1" 403 216
|
368
|
+
|
369
|
+
```
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
error_log
|
374
|
+
|
375
|
+
```ここに言語を入力
|
376
|
+
|
377
|
+
[Thu Sep 10 15:09:14.770255 2020] [mpm_worker:notice] [pid 1347:tid 3069177856] AH00292: Apache/2.4.27 (Unix) configured -- resuming normal operations
|
378
|
+
|
379
|
+
[Thu Sep 10 15:09:14.771208 2020] [core:notice] [pid 1347:tid 3069177856] AH00094: Command line: '/usr/sbin/httpd'
|
380
|
+
|
381
|
+
[Thu Sep 10 15:11:38.820983 2020] [authz_core:error] [pid 1350:tid 2894066736] [client 192.168.1.138:3066] AH01630: client denied by server configuration: /usr/uploads
|
382
|
+
|
383
|
+
[Thu Sep 10 15:13:08.128461 2020] [core:warn] [pid 1347:tid 3069177856] AH00045: child process 1350 still did not exit, sending a SIGTERM
|
384
|
+
|
385
|
+
[Thu Sep 10 15:13:08.128592 2020] [core:warn] [pid 1347:tid 3069177856] AH00045: child process 1353 still did not exit, sending a SIGTERM
|
386
|
+
|
387
|
+
[Thu Sep 10 15:13:08.128631 2020] [core:warn] [pid 1347:tid 3069177856] AH00045: child process 1354 still did not exit, sending a SIGTERM
|
388
|
+
|
389
|
+
[Thu Sep 10 15:13:10.131066 2020] [mpm_worker:notice] [pid 1347:tid 3069177856] AH00295: caught SIGTERM, shutting down
|
390
|
+
|
391
|
+
```
|
1
httpd.conf, httpd-dav.conf内容追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,3 +35,319 @@
|
|
35
35
|
|
36
36
|
|
37
37
|
以上よろしくお願いいたします。
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
/etc/apach2/httpd.confの内容です。
|
42
|
+
|
43
|
+
```ここに言語を入力
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
ServerRoot "/usr"
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
Listen 80
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
LoadModule authn_file_module lib/apache2/modules/mod_authn_file.so
|
58
|
+
|
59
|
+
LoadModule authn_core_module lib/apache2/modules/mod_authn_core.so
|
60
|
+
|
61
|
+
LoadModule authz_host_module lib/apache2/modules/mod_authz_host.so
|
62
|
+
|
63
|
+
LoadModule authz_groupfile_module lib/apache2/modules/mod_authz_groupfile.so
|
64
|
+
|
65
|
+
LoadModule authz_user_module lib/apache2/modules/mod_authz_user.so
|
66
|
+
|
67
|
+
LoadModule authz_core_module lib/apache2/modules/mod_authz_core.so
|
68
|
+
|
69
|
+
LoadModule access_compat_module lib/apache2/modules/mod_access_compat.so
|
70
|
+
|
71
|
+
LoadModule auth_basic_module lib/apache2/modules/mod_auth_basic.so
|
72
|
+
|
73
|
+
LoadModule reqtimeout_module lib/apache2/modules/mod_reqtimeout.so
|
74
|
+
|
75
|
+
LoadModule filter_module lib/apache2/modules/mod_filter.so
|
76
|
+
|
77
|
+
LoadModule mime_module lib/apache2/modules/mod_mime.so
|
78
|
+
|
79
|
+
LoadModule log_config_module lib/apache2/modules/mod_log_config.so
|
80
|
+
|
81
|
+
LoadModule env_module lib/apache2/modules/mod_env.so
|
82
|
+
|
83
|
+
LoadModule headers_module lib/apache2/modules/mod_headers.so
|
84
|
+
|
85
|
+
LoadModule setenvif_module lib/apache2/modules/mod_setenvif.so
|
86
|
+
|
87
|
+
LoadModule version_module lib/apache2/modules/mod_version.so
|
88
|
+
|
89
|
+
LoadModule mpm_worker_module lib/apache2/modules/mod_mpm_worker.so
|
90
|
+
|
91
|
+
LoadModule unixd_module lib/apache2/modules/mod_unixd.so
|
92
|
+
|
93
|
+
LoadModule dav_module lib/apache2/modules/mod_dav.so
|
94
|
+
|
95
|
+
LoadModule status_module lib/apache2/modules/mod_status.so
|
96
|
+
|
97
|
+
LoadModule autoindex_module lib/apache2/modules/mod_autoindex.so
|
98
|
+
|
99
|
+
LoadModule dav_fs_module lib/apache2/modules/mod_dav_fs.so
|
100
|
+
|
101
|
+
LoadModule dir_module lib/apache2/modules/mod_dir.so
|
102
|
+
|
103
|
+
LoadModule alias_module lib/apache2/modules/mod_alias.so
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<IfModule unixd_module>
|
110
|
+
|
111
|
+
User daemon
|
112
|
+
|
113
|
+
Group daemon
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
</IfModule>
|
118
|
+
|
119
|
+
ServerAdmin you@example.com
|
120
|
+
|
121
|
+
ServerName localhost:80
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
<Directory />
|
126
|
+
|
127
|
+
AllowOverride none
|
128
|
+
|
129
|
+
Require all denied
|
130
|
+
|
131
|
+
</Directory>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
DocumentRoot "/usr/share/apache2/htdocs"
|
136
|
+
|
137
|
+
<Directory "/usr/share/apache2/htdocs">
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
Options Indexes FollowSymLinks
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
AllowOverride None
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
Require all granted
|
150
|
+
|
151
|
+
</Directory>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<IfModule dir_module>
|
156
|
+
|
157
|
+
DirectoryIndex index.html
|
158
|
+
|
159
|
+
</IfModule>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
<Files ".ht*">
|
164
|
+
|
165
|
+
Require all denied
|
166
|
+
|
167
|
+
</Files>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
ErrorLog "/var/apache2/logs/error_log"
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
LogLevel warn
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
<IfModule log_config_module>
|
180
|
+
|
181
|
+
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
182
|
+
|
183
|
+
LogFormat "%h %l %u %t \"%r\" %>s %b" common
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
<IfModule logio_module>
|
188
|
+
|
189
|
+
# You need to enable mod_logio.c to use %I and %O
|
190
|
+
|
191
|
+
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
|
192
|
+
|
193
|
+
</IfModule>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
CustomLog "/var/apache2/logs/access_log" common
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
</IfModule>
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
<IfModule alias_module>
|
206
|
+
|
207
|
+
ScriptAlias /cgi-bin/ "/usr/share/apache2/cgi-bin/"
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
</IfModule>
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
<IfModule cgid_module>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
</IfModule>
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
<Directory "/usr/share/apache2/cgi-bin">
|
226
|
+
|
227
|
+
AllowOverride None
|
228
|
+
|
229
|
+
Options None
|
230
|
+
|
231
|
+
Require all granted
|
232
|
+
|
233
|
+
</Directory>
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
<IfModule headers_module>
|
238
|
+
|
239
|
+
RequestHeader unset Proxy early
|
240
|
+
|
241
|
+
</IfModule>
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
<IfModule mime_module>
|
246
|
+
|
247
|
+
TypesConfig /etc/apache2/mime.types
|
248
|
+
|
249
|
+
AddType application/x-compress .Z
|
250
|
+
|
251
|
+
AddType application/x-gzip .gz .tgz
|
252
|
+
|
253
|
+
</IfModule>
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
Include /etc/apache2/extra/httpd-dav.conf
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
<IfModule proxy_html_module>
|
266
|
+
|
267
|
+
Include /etc/apache2/extra/proxy-html.conf
|
268
|
+
|
269
|
+
</IfModule>
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
<IfModule ssl_module>
|
274
|
+
|
275
|
+
SSLRandomSeed startup builtin
|
276
|
+
|
277
|
+
SSLRandomSeed connect builtin
|
278
|
+
|
279
|
+
</IfModule>
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
IncludeOptional /etc/apache2/conf.d/*.conf
|
286
|
+
|
287
|
+
IncludeOptional /etc/apache2/modules.d/*.load
|
288
|
+
|
289
|
+
IncludeOptional /etc/apache2/modules.d/*.conf
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
```
|
296
|
+
|
297
|
+
/etc/apache2/extra/httpd-dav.conf
|
298
|
+
|
299
|
+
```ここに言語を入力
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
Alias /uploads /usr/uploads
|
306
|
+
|
307
|
+
<Directory "/usr/uploads">
|
308
|
+
|
309
|
+
Dav On
|
310
|
+
|
311
|
+
Options Indexes
|
312
|
+
|
313
|
+
Allow from all
|
314
|
+
|
315
|
+
AuthType Basic
|
316
|
+
|
317
|
+
AuthName DAV-upload
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
AuthUseFile "/usr/user2.passwd"
|
322
|
+
|
323
|
+
<RequireAny>
|
324
|
+
|
325
|
+
Require method GET POST OPTIONS
|
326
|
+
|
327
|
+
Require valid-user
|
328
|
+
|
329
|
+
<RequireAny>
|
330
|
+
|
331
|
+
</Directory>
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
|
338
|
+
|
339
|
+
BrowserMatch "MS FrontPage" redirect-carefully
|
340
|
+
|
341
|
+
BrowserMatch "^WebDrive" redirect-carefully
|
342
|
+
|
343
|
+
BrowserMatch "^WebDAVFS/1.[01234]" redirect-carefully
|
344
|
+
|
345
|
+
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
|
346
|
+
|
347
|
+
BrowserMatch "^XML Spy" redirect-carefully
|
348
|
+
|
349
|
+
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
|
350
|
+
|
351
|
+
BrowserMatch " Konqueror/4" redirect-carefully
|
352
|
+
|
353
|
+
```
|