質問編集履歴

6

php関係の結果の削除

2018/03/16 02:32

投稿

j-suzuki
j-suzuki

スコア50

test CHANGED
File without changes
test CHANGED
@@ -158,181 +158,7 @@
158
158
 
159
159
  ```
160
160
 
161
- ```
162
161
 
163
- [root@suzunet ~]# httpd -t -D DUMP_VHOSTS
164
-
165
- httpd: Could not reliably determine the server's fully qualified domain name, using suzunet.orz.hm for ServerName
166
-
167
- VirtualHost configuration:
168
-
169
- wildcard NameVirtualHosts and _default_ servers:
170
-
171
- *:443 is a NameVirtualHost
172
-
173
- default server suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:16)
174
-
175
- port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:16)
176
-
177
- port 443 namevhost chatsuzunet.orz.hm (/etc/httpd/conf.d/chat-le-ssl.conf:1)
178
-
179
- port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/redmine.conf:11)
180
-
181
- port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/ssl.conf:74)
182
-
183
- port 443 namevhost suzunet.info (/etc/httpd/conf.d/suzunet_info-le-ssl.conf:2)
184
-
185
- port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/suzunet_orz-le-ssl.conf:2)
186
-
187
- *:80 is a NameVirtualHost
188
-
189
- default server suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:1)
190
-
191
- port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:1)
192
-
193
- port 80 namevhost chatsuzunet.orz.hm (/etc/httpd/conf.d/chat.conf:1)
194
-
195
- port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/redmine.conf:1)
196
-
197
- port 80 namevhost suzunet.info (/etc/httpd/conf.d/suzunet_info.conf:1)
198
-
199
- port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/suzunet_orz.conf:1)
200
-
201
- Syntax OK
202
-
203
- ```
204
-
205
- ```
206
-
207
- [root@suzunet ~]# httpd -M
208
-
209
- httpd: Could not reliably determine the server's fully qualified domain name, using suzunet.orz.hm for ServerName
210
-
211
- Loaded Modules:
212
-
213
- core_module (static)
214
-
215
- mpm_prefork_module (static)
216
-
217
- http_module (static)
218
-
219
- so_module (static)
220
-
221
- auth_basic_module (shared)
222
-
223
- auth_digest_module (shared)
224
-
225
- authn_file_module (shared)
226
-
227
- authn_alias_module (shared)
228
-
229
- authn_anon_module (shared)
230
-
231
- authn_dbm_module (shared)
232
-
233
- authn_default_module (shared)
234
-
235
- authz_host_module (shared)
236
-
237
- authz_user_module (shared)
238
-
239
- authz_owner_module (shared)
240
-
241
- authz_groupfile_module (shared)
242
-
243
- authz_dbm_module (shared)
244
-
245
- authz_default_module (shared)
246
-
247
- ldap_module (shared)
248
-
249
- authnz_ldap_module (shared)
250
-
251
- include_module (shared)
252
-
253
- log_config_module (shared)
254
-
255
- logio_module (shared)
256
-
257
- env_module (shared)
258
-
259
- ext_filter_module (shared)
260
-
261
- mime_magic_module (shared)
262
-
263
- expires_module (shared)
264
-
265
- deflate_module (shared)
266
-
267
- headers_module (shared)
268
-
269
- usertrack_module (shared)
270
-
271
- setenvif_module (shared)
272
-
273
- mime_module (shared)
274
-
275
- dav_module (shared)
276
-
277
- status_module (shared)
278
-
279
- autoindex_module (shared)
280
-
281
- info_module (shared)
282
-
283
- dav_fs_module (shared)
284
-
285
- vhost_alias_module (shared)
286
-
287
- negotiation_module (shared)
288
-
289
- dir_module (shared)
290
-
291
- actions_module (shared)
292
-
293
- speling_module (shared)
294
-
295
- userdir_module (shared)
296
-
297
- alias_module (shared)
298
-
299
- substitute_module (shared)
300
-
301
- rewrite_module (shared)
302
-
303
- proxy_module (shared)
304
-
305
- proxy_balancer_module (shared)
306
-
307
- proxy_ftp_module (shared)
308
-
309
- proxy_http_module (shared)
310
-
311
- proxy_ajp_module (shared)
312
-
313
- proxy_connect_module (shared)
314
-
315
- cache_module (shared)
316
-
317
- suexec_module (shared)
318
-
319
- disk_cache_module (shared)
320
-
321
- cgi_module (shared)
322
-
323
- version_module (shared)
324
-
325
- php7_module (shared)
326
-
327
- passenger_module (shared)
328
-
329
- ssl_module (shared)
330
-
331
- Syntax OK
332
-
333
-
334
-
335
- ```
336
162
 
337
163
  教えていただいて、いろいろ触っていたら、httpd2.2.15がインストールされてました。削除したはずだったのですが。それで調べて見たら、php7.0をインストールすると一緒にhttpd2.2.15が入ってしまうようです。どうしたらいいでしょうか?
338
164
 

5

OS

2018/03/16 02:32

投稿

j-suzuki
j-suzuki

スコア50

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
- apache2.2系から2.4系にアップデートしました。
1
+ CentOS6.9のapache2.2系から2.4系にアップデートしました。
2
-
2
+
3
- その結果、バスプロキシをかけているものが全て見えなくなってしまいました。
3
+ その結果、スプロキシをかけているものが全て見えなくなってしまいました。
4
4
 
5
5
 
6
6
 

4

追記

2018/03/14 05:29

投稿

j-suzuki
j-suzuki

スコア50

test CHANGED
File without changes
test CHANGED
@@ -335,3 +335,7 @@
335
335
  ```
336
336
 
337
337
  教えていただいて、いろいろ触っていたら、httpd2.2.15がインストールされてました。削除したはずだったのですが。それで調べて見たら、php7.0をインストールすると一緒にhttpd2.2.15が入ってしまうようです。どうしたらいいでしょうか?
338
+
339
+ その上で、上記でやったコマンドをやって見ましたが、そのようなファイルやディレクトリはありません。とでます。
340
+
341
+ どうやったら確認できるでしょうか?

3

調べたこと

2018/03/13 13:52

投稿

j-suzuki
j-suzuki

スコア50

test CHANGED
File without changes
test CHANGED
@@ -333,3 +333,5 @@
333
333
 
334
334
 
335
335
  ```
336
+
337
+ 教えていただいて、いろいろ触っていたら、httpd2.2.15がインストールされてました。削除したはずだったのですが。それで調べて見たら、php7.0をインストールすると一緒にhttpd2.2.15が入ってしまうようです。どうしたらいいでしょうか?

2

コマンドの結果

2018/03/13 13:50

投稿

j-suzuki
j-suzuki

スコア50

test CHANGED
File without changes
test CHANGED
@@ -8,460 +8,116 @@
8
8
 
9
9
 
10
10
 
11
- ```chat.conf
11
+ ```suzunet.orz.hm
12
12
 
13
13
  <VirtualHost *:80>
14
14
 
15
- ServerName chatsuzunet.orz.hm
15
+ ServerName suzunet.orz.hm
16
+
16
-
17
+ DirectoryIndex index.html index.php index.cgi
18
+
19
+ AddDefaultCharset UTF-8
20
+
17
- ProxyPass /websocket ws://localhost:3000/websocket
21
+ DocumentRoot /var/www/html
18
-
19
- ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket
22
+
20
-
21
- ProxyRequests Off
22
-
23
- ProxyPass / http://127.0.0.1:3000/
23
+ <Directory "/var/www/html">
24
-
24
+
25
- ProxyPassReverse / http://127.0.0.1:3000/
25
+ AllowOverride All
26
+
26
-
27
+ Options All
28
+
27
- RewriteEngine on
29
+ Require all granted
28
-
30
+
29
- RewriteCond %{SERVER_NAME} =chatsuzunet.orz.hm
31
+ </Directory>
30
-
31
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,NE,R=permanent]
32
32
 
33
33
  </VirtualHost>
34
34
 
35
35
 
36
36
 
37
+ <IfModule mod_ssl.c>
38
+
37
39
  <VirtualHost *:443>
38
40
 
39
- ServerName chatsuzunet.orz.hm
41
+ ServerName suzunet.orz.hm
42
+
40
-
43
+ DirectoryIndex index.html index.php
44
+
45
+ AddDefaultCharset UTF-8
46
+
47
+ DocumentRoot /var/www/html
48
+
49
+ <Directory "/var/www/html">
50
+
51
+ AllowOverride All
52
+
53
+ </Directory>
54
+
41
- ProxyPass /websocket ws://localhost:3000/websocket
55
+ SSLCertificateFile /etc/letsencrypt/live/suzunet.orz.hm/cert.pem
42
-
56
+
43
- ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket
57
+ SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.orz.hm/privkey.pem
44
-
45
- ProxyRequests Off
46
-
47
- ProxyPass / http://127.0.0.1:3000/ retry=0
48
-
49
- ProxyPassReverse / http://127.0.0.1:3000/
50
58
 
51
59
  Include /etc/letsencrypt/options-ssl-apache.conf
52
60
 
61
+ SSLCertificateChainFile /etc/letsencrypt/live/suzunet.orz.hm/chain.pem
62
+
63
+ </VirtualHost>
64
+
65
+ </IfModule>
66
+
67
+
68
+
69
+ ```
70
+
71
+ ```suzunet.info
72
+
73
+ <VirtualHost *:80>
74
+
75
+ ServerName suzunet.info
76
+
77
+ DocumentRoot /var/www/suzunet_info
78
+
79
+ KeepAlive Off
80
+
81
+ ProxyPass /.well-known/ !
82
+
83
+ ProxyPass / http://192.168.11.150/
84
+
85
+ </VirtualHost>
86
+
87
+
88
+
89
+ <VirtualHost *:443>
90
+
91
+ ServerName suzunet.info
92
+
93
+ DirectoryIndex index.html index.php
94
+
95
+ AddDefaultCharset UTF-8
96
+
97
+ KeepAlive Off
98
+
99
+ ProxyPass / http://192.168.11.150/
100
+
101
+
102
+
103
+ # SSL
104
+
105
+ SSLEngine on
106
+
107
+ SSLProtocol All -SSLv3 -SSLv2
108
+
109
+ SSLCertificateFile /etc/letsencrypt/live/suzunet.info/cert.pem
110
+
111
+ SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.info/privkey.pem
112
+
53
113
  Include /etc/letsencrypt/options-ssl-apache.conf
54
114
 
55
- Include /etc/letsencrypt/options-ssl-apache.conf
56
-
57
- Include /etc/letsencrypt/options-ssl-apache.conf
58
-
59
- SSLCertificateFile /etc/letsencrypt/live/chatsuzunet.orz.hm-0001/cert.pem
60
-
61
- SSLCertificateKeyFile /etc/letsencrypt/live/chatsuzunet.orz.hm-0001/privkey.pem
62
-
63
- Include /etc/letsencrypt/options-ssl-apache.conf
64
-
65
- SSLCertificateChainFile /etc/letsencrypt/live/chatsuzunet.orz.hm-0001/chain.pem
115
+ SSLCertificateChainFile /etc/letsencrypt/live/suzunet.info/chain.pem
66
116
 
67
117
  </VirtualHost>
68
118
 
69
119
  ```
70
120
 
71
-
72
-
73
- ```suzunet.orz.hm
74
-
75
- <VirtualHost *:80>
76
-
77
- ServerName suzunet.orz.hm
78
-
79
- DirectoryIndex index.html index.php index.cgi
80
-
81
- AddDefaultCharset UTF-8
82
-
83
- DocumentRoot /var/www/html
84
-
85
- <Directory "/var/www/html">
86
-
87
- AllowOverride All
88
-
89
- Options All
90
-
91
- Require all granted
92
-
93
- </Directory>
94
-
95
- </VirtualHost>
96
-
97
-
98
-
99
- <IfModule mod_ssl.c>
100
-
101
- <VirtualHost *:443>
102
-
103
- ServerName suzunet.orz.hm
104
-
105
- DirectoryIndex index.html index.php
106
-
107
- AddDefaultCharset UTF-8
108
-
109
- DocumentRoot /var/www/html
110
-
111
- <Directory "/var/www/html">
112
-
113
- AllowOverride All
114
-
115
- </Directory>
116
-
117
- SSLCertificateFile /etc/letsencrypt/live/suzunet.orz.hm/cert.pem
118
-
119
- SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.orz.hm/privkey.pem
120
-
121
- Include /etc/letsencrypt/options-ssl-apache.conf
122
-
123
- SSLCertificateChainFile /etc/letsencrypt/live/suzunet.orz.hm/chain.pem
124
-
125
- </VirtualHost>
126
-
127
- </IfModule>
128
-
129
-
130
-
131
- ```
132
-
133
- ```suzunet.info
134
-
135
- <VirtualHost *:80>
136
-
137
- ServerName suzunet.info
138
-
139
- DocumentRoot /var/www/suzunet_info
140
-
141
- KeepAlive Off
142
-
143
- ProxyPass /.well-known/ !
144
-
145
- ProxyPass / http://192.168.11.150/
146
-
147
- </VirtualHost>
148
-
149
-
150
-
151
- <VirtualHost *:443>
152
-
153
- ServerName suzunet.info
154
-
155
- DirectoryIndex index.html index.php
156
-
157
- AddDefaultCharset UTF-8
158
-
159
- KeepAlive Off
160
-
161
- ProxyPass / http://192.168.11.150/
162
-
163
-
164
-
165
- # SSL
166
-
167
- SSLEngine on
168
-
169
- SSLProtocol All -SSLv3 -SSLv2
170
-
171
- SSLCertificateFile /etc/letsencrypt/live/suzunet.info/cert.pem
172
-
173
- SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.info/privkey.pem
174
-
175
- Include /etc/letsencrypt/options-ssl-apache.conf
176
-
177
- SSLCertificateChainFile /etc/letsencrypt/live/suzunet.info/chain.pem
178
-
179
- </VirtualHost>
180
-
181
- ```
182
-
183
- ```
184
-
185
- ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
186
-
187
- <Directory /usr/local/mailman/cgi-bin/>
188
-
189
- SSLRequireSSL
190
-
191
- AllowOverride None
192
-
193
- Options ExecCGI
194
-
195
- Order allow,deny
196
-
197
- Allow from all
198
-
199
- </Directory>
200
-
201
- Alias /pipermail/ /usr/local/mailman/archives/public/
202
-
203
- <Directory /usr/local/mailman/archives/public/>
204
-
205
- Options Indexes MultiViews FollowSymLinks
206
-
207
- AllowOverride None
208
-
209
- Order allow,deny
210
-
211
- Allow from all
212
-
213
- </Directory>
214
-
215
- ```
216
-
217
- ```
218
-
219
- LoadModule php7_module modules/libphp7-zts.so
220
-
221
- </IfModule>
222
-
223
- </IfModule>
224
-
225
- #
226
-
227
- # The following lines prevent .user.ini files from being viewed by Web clients.
228
-
229
- #
230
-
231
- <Files ".user.ini">
232
-
233
- <IfModule mod_authz_core.c>
234
-
235
- Require all denied
236
-
237
- </IfModule>
238
-
239
- <IfModule !mod_authz_core.c>
240
-
241
- Order allow,deny
242
-
243
- Deny from all
244
-
245
- Satisfy All
246
-
247
- </IfModule>
248
-
249
- </Files>
250
-
251
- # Allow php to handle Multiviews
252
-
253
- AddType text/html .php
254
-
255
-
256
-
257
- # Add index.php to the list of files that will be served as directory
258
-
259
- # indexes.
260
-
261
- DirectoryIndex index.php
262
-
263
-
264
-
265
- # mod_php options
266
-
267
- <IfModule mod_php7.c>
268
-
269
- #
270
-
271
- # Cause the PHP interpreter to handle files with a .php extension.
272
-
273
- #
274
-
275
- <FilesMatch .php$>
276
-
277
- SetHandler application/x-httpd-php
278
-
279
- </FilesMatch>
280
-
281
- # Uncomment the following lines to allow PHP to pretty-print .phps
282
-
283
- # files as PHP source code:
284
-
285
- #
286
-
287
- #<FilesMatch .phps$>
288
-
289
- # SetHandler application/x-httpd-php-source
290
-
291
- #</FilesMatch>
292
-
293
-
294
-
295
- #
296
-
297
- # Apache specific PHP configuration options
298
-
299
- # those can be override in each configured vhost
300
-
301
- #
302
-
303
- php_value session.save_handler "files"
304
-
305
- php_value session.save_path "/var/lib/php/session"
306
-
307
- php_value soap.wsdl_cache_dir "/var/lib/php/wsdlcache"
308
-
309
-
310
-
311
- #php_value opcache.file_cache "/var/lib/php/opcache"
312
-
313
- </IfModule>
314
-
315
- ```
316
-
317
- ```
318
-
319
- <VirtualHost *:80>
320
-
321
- ServerName suzunet.orz.hm
322
-
323
- <Location /aipo/>
324
-
325
- ProxyPass ajp://localhost:8009/aipo/
326
-
327
- </Location>
328
-
329
- <Location /aipo>
330
-
331
- ProxyPass ajp://localhost:8009/aipo
332
-
333
- </Location>
334
-
335
- <Location /container>
336
-
337
- ProxyPass ajp://localhost:8009/container
338
-
339
- </Location>
340
-
341
- RewriteEngine on
342
-
343
- RewriteCond %{SERVER_NAME} =suzunet.orz.hm
344
-
345
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,NE,R=permanent]
346
-
347
- </VirtualHost>
348
-
349
- <VirtualHost *:443>
350
-
351
- ServerName suzunet.orz.hm
352
-
353
- ProxyPreserveHost On
354
-
355
- ProxyRequests Off
356
-
357
- ProxyPass /aipo ajp://localhost:8009/aipo/
358
-
359
- ProxyPass /aipo ajp://localhost:8009/container
360
-
361
- ProxyPassReverse /aipo ajp://localhost:8009/aipo
362
-
363
-
364
-
365
- Include /etc/letsencrypt/options-ssl-apache.conf
366
-
367
- Include /etc/letsencrypt/options-ssl-apache.conf
368
-
369
- Include /etc/letsencrypt/options-ssl-apache.conf
370
-
371
- Include /etc/letsencrypt/options-ssl-apache.conf
372
-
373
- Include /etc/letsencrypt/options-ssl-apache.conf
374
-
375
- Include /etc/letsencrypt/options-ssl-apache.conf
376
-
377
- Include /etc/letsencrypt/options-ssl-apache.conf
378
-
379
- Include /etc/letsencrypt/options-ssl-apache.conf
380
-
381
- Include /etc/letsencrypt/options-ssl-apache.conf
382
-
383
- SSLCertificateFile /etc/letsencrypt/live/suzunet.orz.hm/cert.pem
384
-
385
- SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.orz.hm/privkey.pem
386
-
387
- Include /etc/letsencrypt/options-ssl-apache.conf
388
-
389
- SSLCertificateChainFile /etc/letsencrypt/live/suzunet.orz.hm/chain.pem
390
-
391
- </VirtualHost>
392
-
393
-
394
-
395
- ```
396
-
397
- ```<VirtualHost *:80>
398
-
399
- ServerName suzunet.orz.hm
400
-
401
- DirectoryIndex index.html index.htm index.php
402
-
403
-
404
-
405
- ProxyRequests Off
406
-
407
- ProxyPass /redmine http://127.0.0.1:3001/
408
-
409
- ProxyPassReverse /redmine http://127.0.0.1:3001/
410
-
411
-
412
-
413
- </VirtualHost>
414
-
415
-
416
-
417
- <VirtualHost *:443>
418
-
419
- ServerName suzunet.orz.hm
420
-
421
- DirectoryIndex index.html index.htm index.php
422
-
423
-
424
-
425
- ProxyRequests Off
426
-
427
- ProxyPass /redmine http://127.0.0.1:3001/
428
-
429
- ProxyPassReverse /redmine http://127.0.0.1:3001/
430
-
431
-
432
-
433
-
434
-
435
- SSLCertificateFile /etc/letsencrypt/live/suzunet.orz.hm/cert.pem
436
-
437
- SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.orz.hm/privkey.pem
438
-
439
- Include /etc/letsencrypt/options-ssl-apache.conf
440
-
441
- SSLCertificateChainFile /etc/letsencrypt/live/suzunet.orz.hm/chain.pem
442
-
443
- </VirtualHost>
444
-
445
-
446
-
447
- LoadModule passenger_module /usr/local/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/passenger-5.1.2/buildout/apache2/mod_passenger.so
448
-
449
- <IfModule mod_passenger.c>
450
-
451
- PassengerRoot /usr/local/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/passenger-5.1.2
452
-
453
- PassengerDefaultRuby /usr/local/rbenv/versions/2.3.3/bin/ruby
454
-
455
- </IfModule>
456
-
457
- RackBaseURI /redmine
458
-
459
-
460
-
461
- ```
462
-
463
-
464
-
465
121
  ```
466
122
 
467
123
  error_log
@@ -500,12 +156,180 @@
500
156
 
501
157
  [Tue Mar 13 19:10:29.848831 2018] [core:notice] [pid 13597:tid 140131694290912] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
502
158
 
503
-
504
-
505
-
506
-
507
-
508
-
509
- コード
510
-
511
- ```
159
+ ```
160
+
161
+ ```
162
+
163
+ [root@suzunet ~]# httpd -t -D DUMP_VHOSTS
164
+
165
+ httpd: Could not reliably determine the server's fully qualified domain name, using suzunet.orz.hm for ServerName
166
+
167
+ VirtualHost configuration:
168
+
169
+ wildcard NameVirtualHosts and _default_ servers:
170
+
171
+ *:443 is a NameVirtualHost
172
+
173
+ default server suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:16)
174
+
175
+ port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:16)
176
+
177
+ port 443 namevhost chatsuzunet.orz.hm (/etc/httpd/conf.d/chat-le-ssl.conf:1)
178
+
179
+ port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/redmine.conf:11)
180
+
181
+ port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/ssl.conf:74)
182
+
183
+ port 443 namevhost suzunet.info (/etc/httpd/conf.d/suzunet_info-le-ssl.conf:2)
184
+
185
+ port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/suzunet_orz-le-ssl.conf:2)
186
+
187
+ *:80 is a NameVirtualHost
188
+
189
+ default server suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:1)
190
+
191
+ port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:1)
192
+
193
+ port 80 namevhost chatsuzunet.orz.hm (/etc/httpd/conf.d/chat.conf:1)
194
+
195
+ port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/redmine.conf:1)
196
+
197
+ port 80 namevhost suzunet.info (/etc/httpd/conf.d/suzunet_info.conf:1)
198
+
199
+ port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/suzunet_orz.conf:1)
200
+
201
+ Syntax OK
202
+
203
+ ```
204
+
205
+ ```
206
+
207
+ [root@suzunet ~]# httpd -M
208
+
209
+ httpd: Could not reliably determine the server's fully qualified domain name, using suzunet.orz.hm for ServerName
210
+
211
+ Loaded Modules:
212
+
213
+ core_module (static)
214
+
215
+ mpm_prefork_module (static)
216
+
217
+ http_module (static)
218
+
219
+ so_module (static)
220
+
221
+ auth_basic_module (shared)
222
+
223
+ auth_digest_module (shared)
224
+
225
+ authn_file_module (shared)
226
+
227
+ authn_alias_module (shared)
228
+
229
+ authn_anon_module (shared)
230
+
231
+ authn_dbm_module (shared)
232
+
233
+ authn_default_module (shared)
234
+
235
+ authz_host_module (shared)
236
+
237
+ authz_user_module (shared)
238
+
239
+ authz_owner_module (shared)
240
+
241
+ authz_groupfile_module (shared)
242
+
243
+ authz_dbm_module (shared)
244
+
245
+ authz_default_module (shared)
246
+
247
+ ldap_module (shared)
248
+
249
+ authnz_ldap_module (shared)
250
+
251
+ include_module (shared)
252
+
253
+ log_config_module (shared)
254
+
255
+ logio_module (shared)
256
+
257
+ env_module (shared)
258
+
259
+ ext_filter_module (shared)
260
+
261
+ mime_magic_module (shared)
262
+
263
+ expires_module (shared)
264
+
265
+ deflate_module (shared)
266
+
267
+ headers_module (shared)
268
+
269
+ usertrack_module (shared)
270
+
271
+ setenvif_module (shared)
272
+
273
+ mime_module (shared)
274
+
275
+ dav_module (shared)
276
+
277
+ status_module (shared)
278
+
279
+ autoindex_module (shared)
280
+
281
+ info_module (shared)
282
+
283
+ dav_fs_module (shared)
284
+
285
+ vhost_alias_module (shared)
286
+
287
+ negotiation_module (shared)
288
+
289
+ dir_module (shared)
290
+
291
+ actions_module (shared)
292
+
293
+ speling_module (shared)
294
+
295
+ userdir_module (shared)
296
+
297
+ alias_module (shared)
298
+
299
+ substitute_module (shared)
300
+
301
+ rewrite_module (shared)
302
+
303
+ proxy_module (shared)
304
+
305
+ proxy_balancer_module (shared)
306
+
307
+ proxy_ftp_module (shared)
308
+
309
+ proxy_http_module (shared)
310
+
311
+ proxy_ajp_module (shared)
312
+
313
+ proxy_connect_module (shared)
314
+
315
+ cache_module (shared)
316
+
317
+ suexec_module (shared)
318
+
319
+ disk_cache_module (shared)
320
+
321
+ cgi_module (shared)
322
+
323
+ version_module (shared)
324
+
325
+ php7_module (shared)
326
+
327
+ passenger_module (shared)
328
+
329
+ ssl_module (shared)
330
+
331
+ Syntax OK
332
+
333
+
334
+
335
+ ```

1

error_log

2018/03/13 13:24

投稿

j-suzuki
j-suzuki

スコア50

test CHANGED
File without changes
test CHANGED
@@ -38,8 +38,6 @@
38
38
 
39
39
  ServerName chatsuzunet.orz.hm
40
40
 
41
-
42
-
43
41
  ProxyPass /websocket ws://localhost:3000/websocket
44
42
 
45
43
  ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket
@@ -50,10 +48,6 @@
50
48
 
51
49
  ProxyPassReverse / http://127.0.0.1:3000/
52
50
 
53
-
54
-
55
-
56
-
57
51
  Include /etc/letsencrypt/options-ssl-apache.conf
58
52
 
59
53
  Include /etc/letsencrypt/options-ssl-apache.conf
@@ -72,16 +66,12 @@
72
66
 
73
67
  </VirtualHost>
74
68
 
75
-
76
-
77
69
  ```
78
70
 
79
71
 
80
72
 
81
73
  ```suzunet.orz.hm
82
74
 
83
-
84
-
85
75
  <VirtualHost *:80>
86
76
 
87
77
  ServerName suzunet.orz.hm
@@ -142,17 +132,11 @@
142
132
 
143
133
  ```suzunet.info
144
134
 
145
-
146
-
147
135
  <VirtualHost *:80>
148
136
 
149
137
  ServerName suzunet.info
150
138
 
151
-
152
-
153
- DOcumentRoot /var/www/suzunet_info
139
+ DocumentRoot /var/www/suzunet_info
154
-
155
-
156
140
 
157
141
  KeepAlive Off
158
142
 
@@ -170,12 +154,8 @@
170
154
 
171
155
  DirectoryIndex index.html index.php
172
156
 
173
-
174
-
175
157
  AddDefaultCharset UTF-8
176
158
 
177
-
178
-
179
159
  KeepAlive Off
180
160
 
181
161
  ProxyPass / http://192.168.11.150/
@@ -188,8 +168,6 @@
188
168
 
189
169
  SSLProtocol All -SSLv3 -SSLv2
190
170
 
191
-
192
-
193
171
  SSLCertificateFile /etc/letsencrypt/live/suzunet.info/cert.pem
194
172
 
195
173
  SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.info/privkey.pem
@@ -198,11 +176,7 @@
198
176
 
199
177
  SSLCertificateChainFile /etc/letsencrypt/live/suzunet.info/chain.pem
200
178
 
201
-
202
-
203
- </VirtualHost>
179
+ </VirtualHost>
204
-
205
-
206
180
 
207
181
  ```
208
182
 
@@ -238,11 +212,9 @@
238
212
 
239
213
  </Directory>
240
214
 
241
-
242
-
243
- ```
215
+ ```
244
-
216
+
245
- ```ここに言語を入力
217
+ ```
246
218
 
247
219
  LoadModule php7_module modules/libphp7-zts.so
248
220
 
@@ -276,26 +248,16 @@
276
248
 
277
249
  </Files>
278
250
 
279
-
280
-
281
- #
282
-
283
251
  # Allow php to handle Multiviews
284
252
 
285
- #
286
-
287
253
  AddType text/html .php
288
254
 
289
255
 
290
256
 
291
- #
292
-
293
257
  # Add index.php to the list of files that will be served as directory
294
258
 
295
259
  # indexes.
296
260
 
297
- #
298
-
299
261
  DirectoryIndex index.php
300
262
 
301
263
 
@@ -316,32 +278,28 @@
316
278
 
317
279
  </FilesMatch>
318
280
 
319
-
281
+ # Uncomment the following lines to allow PHP to pretty-print .phps
282
+
283
+ # files as PHP source code:
320
284
 
321
285
  #
322
286
 
323
- # Uncomment the following lines to allow PHP to pretty-print .phps
324
-
325
- # files as PHP source code:
287
+ #<FilesMatch .phps$>
288
+
289
+ # SetHandler application/x-httpd-php-source
290
+
291
+ #</FilesMatch>
292
+
293
+
326
294
 
327
295
  #
328
296
 
329
- #<FilesMatch .phps$>
297
+ # Apache specific PHP configuration options
330
-
298
+
331
- # SetHandler application/x-httpd-php-source
299
+ # those can be override in each configured vhost
332
-
333
- #</FilesMatch>
334
-
335
-
336
300
 
337
301
  #
338
302
 
339
- # Apache specific PHP configuration options
340
-
341
- # those can be override in each configured vhost
342
-
343
- #
344
-
345
303
  php_value session.save_handler "files"
346
304
 
347
305
  php_value session.save_path "/var/lib/php/session"
@@ -500,6 +458,54 @@
500
458
 
501
459
 
502
460
 
503
-
504
-
505
- ```
461
+ ```
462
+
463
+
464
+
465
+ ```
466
+
467
+ error_log
468
+
469
+ [Tue Mar 13 18:58:35.818090 2018] [suexec:notice] [pid 12086:tid 140709270775776] AH01232: suEXEC mechanism enabled (wrapper: /opt/rh/httpd24/root/usr/sbin/suexec)
470
+
471
+ [Tue Mar 13 18:58:35.833344 2018] [http2:warn] [pid 12087:tid 140709270775776] AH02951: mod_ssl does not seem to be enabled
472
+
473
+ [Tue Mar 13 18:58:35.833953 2018] [lbmethod_heartbeat:notice] [pid 12087:tid 140709270775776] AH02282: No slotmem from mod_heartmonitor
474
+
475
+ [Tue Mar 13 18:58:35.836379 2018] [mpm_event:notice] [pid 12087:tid 140709270775776] AH00489: Apache/2.4.27 (Red Hat) configured -- resuming normal operations
476
+
477
+ [Tue Mar 13 18:58:35.836412 2018] [core:notice] [pid 12087:tid 140709270775776] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
478
+
479
+ [Tue Mar 13 19:03:29.563950 2018] [mpm_event:notice] [pid 12087:tid 140709270775776] AH00491: caught SIGTERM, shutting down
480
+
481
+ [Tue Mar 13 19:03:29.719204 2018] [suexec:notice] [pid 12759:tid 140311437895648] AH01232: suEXEC mechanism enabled (wrapper: /opt/rh/httpd24/root/usr/sbin/suexec)
482
+
483
+ [Tue Mar 13 19:03:29.739915 2018] [http2:warn] [pid 12761:tid 140311437895648] AH02951: mod_ssl does not seem to be enabled
484
+
485
+ [Tue Mar 13 19:03:29.740531 2018] [lbmethod_heartbeat:notice] [pid 12761:tid 140311437895648] AH02282: No slotmem from mod_heartmonitor
486
+
487
+ [Tue Mar 13 19:03:29.742488 2018] [mpm_event:notice] [pid 12761:tid 140311437895648] AH00489: Apache/2.4.27 (Red Hat) configured -- resuming normal operations
488
+
489
+ [Tue Mar 13 19:03:29.742519 2018] [core:notice] [pid 12761:tid 140311437895648] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
490
+
491
+ [Tue Mar 13 19:10:29.680229 2018] [mpm_event:notice] [pid 12761:tid 140311437895648] AH00491: caught SIGTERM, shutting down
492
+
493
+ [Tue Mar 13 19:10:29.830065 2018] [suexec:notice] [pid 13596:tid 140131694290912] AH01232: suEXEC mechanism enabled (wrapper: /opt/rh/httpd24/root/usr/sbin/suexec)
494
+
495
+ [Tue Mar 13 19:10:29.846107 2018] [http2:warn] [pid 13597:tid 140131694290912] AH02951: mod_ssl does not seem to be enabled
496
+
497
+ [Tue Mar 13 19:10:29.846778 2018] [lbmethod_heartbeat:notice] [pid 13597:tid 140131694290912] AH02282: No slotmem from mod_heartmonitor
498
+
499
+ [Tue Mar 13 19:10:29.848799 2018] [mpm_event:notice] [pid 13597:tid 140131694290912] AH00489: Apache/2.4.27 (Red Hat) configured -- resuming normal operations
500
+
501
+ [Tue Mar 13 19:10:29.848831 2018] [core:notice] [pid 13597:tid 140131694290912] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+ コード
510
+
511
+ ```