質問編集履歴
6
php関係の結果の削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -78,94 +78,7 @@
|
|
78
78
|
[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
|
79
79
|
[Tue Mar 13 19:10:29.848831 2018] [core:notice] [pid 13597:tid 140131694290912] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
|
80
80
|
```
|
81
|
-
```
|
82
|
-
[root@suzunet ~]# httpd -t -D DUMP_VHOSTS
|
83
|
-
httpd: Could not reliably determine the server's fully qualified domain name, using suzunet.orz.hm for ServerName
|
84
|
-
VirtualHost configuration:
|
85
|
-
wildcard NameVirtualHosts and _default_ servers:
|
86
|
-
*:443 is a NameVirtualHost
|
87
|
-
default server suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:16)
|
88
|
-
port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:16)
|
89
|
-
port 443 namevhost chatsuzunet.orz.hm (/etc/httpd/conf.d/chat-le-ssl.conf:1)
|
90
|
-
port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/redmine.conf:11)
|
91
|
-
port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/ssl.conf:74)
|
92
|
-
port 443 namevhost suzunet.info (/etc/httpd/conf.d/suzunet_info-le-ssl.conf:2)
|
93
|
-
port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/suzunet_orz-le-ssl.conf:2)
|
94
|
-
*:80 is a NameVirtualHost
|
95
|
-
default server suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:1)
|
96
|
-
port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:1)
|
97
|
-
port 80 namevhost chatsuzunet.orz.hm (/etc/httpd/conf.d/chat.conf:1)
|
98
|
-
port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/redmine.conf:1)
|
99
|
-
port 80 namevhost suzunet.info (/etc/httpd/conf.d/suzunet_info.conf:1)
|
100
|
-
port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/suzunet_orz.conf:1)
|
101
|
-
Syntax OK
|
102
|
-
```
|
103
|
-
```
|
104
|
-
[root@suzunet ~]# httpd -M
|
105
|
-
httpd: Could not reliably determine the server's fully qualified domain name, using suzunet.orz.hm for ServerName
|
106
|
-
Loaded Modules:
|
107
|
-
core_module (static)
|
108
|
-
mpm_prefork_module (static)
|
109
|
-
http_module (static)
|
110
|
-
so_module (static)
|
111
|
-
auth_basic_module (shared)
|
112
|
-
auth_digest_module (shared)
|
113
|
-
authn_file_module (shared)
|
114
|
-
authn_alias_module (shared)
|
115
|
-
authn_anon_module (shared)
|
116
|
-
authn_dbm_module (shared)
|
117
|
-
authn_default_module (shared)
|
118
|
-
authz_host_module (shared)
|
119
|
-
authz_user_module (shared)
|
120
|
-
authz_owner_module (shared)
|
121
|
-
authz_groupfile_module (shared)
|
122
|
-
authz_dbm_module (shared)
|
123
|
-
authz_default_module (shared)
|
124
|
-
ldap_module (shared)
|
125
|
-
authnz_ldap_module (shared)
|
126
|
-
include_module (shared)
|
127
|
-
log_config_module (shared)
|
128
|
-
logio_module (shared)
|
129
|
-
env_module (shared)
|
130
|
-
ext_filter_module (shared)
|
131
|
-
mime_magic_module (shared)
|
132
|
-
expires_module (shared)
|
133
|
-
deflate_module (shared)
|
134
|
-
headers_module (shared)
|
135
|
-
usertrack_module (shared)
|
136
|
-
setenvif_module (shared)
|
137
|
-
mime_module (shared)
|
138
|
-
dav_module (shared)
|
139
|
-
status_module (shared)
|
140
|
-
autoindex_module (shared)
|
141
|
-
info_module (shared)
|
142
|
-
dav_fs_module (shared)
|
143
|
-
vhost_alias_module (shared)
|
144
|
-
negotiation_module (shared)
|
145
|
-
dir_module (shared)
|
146
|
-
actions_module (shared)
|
147
|
-
speling_module (shared)
|
148
|
-
userdir_module (shared)
|
149
|
-
alias_module (shared)
|
150
|
-
substitute_module (shared)
|
151
|
-
rewrite_module (shared)
|
152
|
-
proxy_module (shared)
|
153
|
-
proxy_balancer_module (shared)
|
154
|
-
proxy_ftp_module (shared)
|
155
|
-
proxy_http_module (shared)
|
156
|
-
proxy_ajp_module (shared)
|
157
|
-
proxy_connect_module (shared)
|
158
|
-
cache_module (shared)
|
159
|
-
suexec_module (shared)
|
160
|
-
disk_cache_module (shared)
|
161
|
-
cgi_module (shared)
|
162
|
-
version_module (shared)
|
163
|
-
php7_module (shared)
|
164
|
-
passenger_module (shared)
|
165
|
-
ssl_module (shared)
|
166
|
-
Syntax OK
|
167
81
|
|
168
|
-
```
|
169
82
|
教えていただいて、いろいろ触っていたら、httpd2.2.15がインストールされてました。削除したはずだったのですが。それで調べて見たら、php7.0をインストールすると一緒にhttpd2.2.15が入ってしまうようです。どうしたらいいでしょうか?
|
170
83
|
その上で、上記でやったコマンドをやって見ましたが、そのようなファイルやディレクトリはありません。とでます。
|
171
84
|
どうやったら確認できるでしょうか?
|
5
OS
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
apache2.2系から2.4系にアップデートしました。
|
1
|
+
CentOS6.9のapache2.2系から2.4系にアップデートしました。
|
2
|
-
その結果、
|
2
|
+
その結果、リバースプロキシをかけているものが全て見えなくなってしまいました。
|
3
3
|
|
4
4
|
ご助言いただけると助かります。
|
5
5
|
|
4
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -166,4 +166,6 @@
|
|
166
166
|
Syntax OK
|
167
167
|
|
168
168
|
```
|
169
|
-
教えていただいて、いろいろ触っていたら、httpd2.2.15がインストールされてました。削除したはずだったのですが。それで調べて見たら、php7.0をインストールすると一緒にhttpd2.2.15が入ってしまうようです。どうしたらいいでしょうか?
|
169
|
+
教えていただいて、いろいろ触っていたら、httpd2.2.15がインストールされてました。削除したはずだったのですが。それで調べて見たら、php7.0をインストールすると一緒にhttpd2.2.15が入ってしまうようです。どうしたらいいでしょうか?
|
170
|
+
その上で、上記でやったコマンドをやって見ましたが、そのようなファイルやディレクトリはありません。とでます。
|
171
|
+
どうやったら確認できるでしょうか?
|
3
調べたこと
title
CHANGED
File without changes
|
body
CHANGED
@@ -165,4 +165,5 @@
|
|
165
165
|
ssl_module (shared)
|
166
166
|
Syntax OK
|
167
167
|
|
168
|
-
```
|
168
|
+
```
|
169
|
+
教えていただいて、いろいろ触っていたら、httpd2.2.15がインストールされてました。削除したはずだったのですが。それで調べて見たら、php7.0をインストールすると一緒にhttpd2.2.15が入ってしまうようです。どうしたらいいでしょうか?
|
2
コマンドの結果
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,37 +3,6 @@
|
|
3
3
|
|
4
4
|
ご助言いただけると助かります。
|
5
5
|
|
6
|
-
```chat.conf
|
7
|
-
<VirtualHost *:80>
|
8
|
-
ServerName chatsuzunet.orz.hm
|
9
|
-
ProxyPass /websocket ws://localhost:3000/websocket
|
10
|
-
ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket
|
11
|
-
ProxyRequests Off
|
12
|
-
ProxyPass / http://127.0.0.1:3000/
|
13
|
-
ProxyPassReverse / http://127.0.0.1:3000/
|
14
|
-
RewriteEngine on
|
15
|
-
RewriteCond %{SERVER_NAME} =chatsuzunet.orz.hm
|
16
|
-
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,NE,R=permanent]
|
17
|
-
</VirtualHost>
|
18
|
-
|
19
|
-
<VirtualHost *:443>
|
20
|
-
ServerName chatsuzunet.orz.hm
|
21
|
-
ProxyPass /websocket ws://localhost:3000/websocket
|
22
|
-
ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket
|
23
|
-
ProxyRequests Off
|
24
|
-
ProxyPass / http://127.0.0.1:3000/ retry=0
|
25
|
-
ProxyPassReverse / http://127.0.0.1:3000/
|
26
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
27
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
28
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
29
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
30
|
-
SSLCertificateFile /etc/letsencrypt/live/chatsuzunet.orz.hm-0001/cert.pem
|
31
|
-
SSLCertificateKeyFile /etc/letsencrypt/live/chatsuzunet.orz.hm-0001/privkey.pem
|
32
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
33
|
-
SSLCertificateChainFile /etc/letsencrypt/live/chatsuzunet.orz.hm-0001/chain.pem
|
34
|
-
</VirtualHost>
|
35
|
-
```
|
36
|
-
|
37
6
|
```suzunet.orz.hm
|
38
7
|
<VirtualHost *:80>
|
39
8
|
ServerName suzunet.orz.hm
|
@@ -90,147 +59,6 @@
|
|
90
59
|
</VirtualHost>
|
91
60
|
```
|
92
61
|
```
|
93
|
-
ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
|
94
|
-
<Directory /usr/local/mailman/cgi-bin/>
|
95
|
-
SSLRequireSSL
|
96
|
-
AllowOverride None
|
97
|
-
Options ExecCGI
|
98
|
-
Order allow,deny
|
99
|
-
Allow from all
|
100
|
-
</Directory>
|
101
|
-
Alias /pipermail/ /usr/local/mailman/archives/public/
|
102
|
-
<Directory /usr/local/mailman/archives/public/>
|
103
|
-
Options Indexes MultiViews FollowSymLinks
|
104
|
-
AllowOverride None
|
105
|
-
Order allow,deny
|
106
|
-
Allow from all
|
107
|
-
</Directory>
|
108
|
-
```
|
109
|
-
```
|
110
|
-
LoadModule php7_module modules/libphp7-zts.so
|
111
|
-
</IfModule>
|
112
|
-
</IfModule>
|
113
|
-
#
|
114
|
-
# The following lines prevent .user.ini files from being viewed by Web clients.
|
115
|
-
#
|
116
|
-
<Files ".user.ini">
|
117
|
-
<IfModule mod_authz_core.c>
|
118
|
-
Require all denied
|
119
|
-
</IfModule>
|
120
|
-
<IfModule !mod_authz_core.c>
|
121
|
-
Order allow,deny
|
122
|
-
Deny from all
|
123
|
-
Satisfy All
|
124
|
-
</IfModule>
|
125
|
-
</Files>
|
126
|
-
# Allow php to handle Multiviews
|
127
|
-
AddType text/html .php
|
128
|
-
|
129
|
-
# Add index.php to the list of files that will be served as directory
|
130
|
-
# indexes.
|
131
|
-
DirectoryIndex index.php
|
132
|
-
|
133
|
-
# mod_php options
|
134
|
-
<IfModule mod_php7.c>
|
135
|
-
#
|
136
|
-
# Cause the PHP interpreter to handle files with a .php extension.
|
137
|
-
#
|
138
|
-
<FilesMatch .php$>
|
139
|
-
SetHandler application/x-httpd-php
|
140
|
-
</FilesMatch>
|
141
|
-
# Uncomment the following lines to allow PHP to pretty-print .phps
|
142
|
-
# files as PHP source code:
|
143
|
-
#
|
144
|
-
#<FilesMatch .phps$>
|
145
|
-
# SetHandler application/x-httpd-php-source
|
146
|
-
#</FilesMatch>
|
147
|
-
|
148
|
-
#
|
149
|
-
# Apache specific PHP configuration options
|
150
|
-
# those can be override in each configured vhost
|
151
|
-
#
|
152
|
-
php_value session.save_handler "files"
|
153
|
-
php_value session.save_path "/var/lib/php/session"
|
154
|
-
php_value soap.wsdl_cache_dir "/var/lib/php/wsdlcache"
|
155
|
-
|
156
|
-
#php_value opcache.file_cache "/var/lib/php/opcache"
|
157
|
-
</IfModule>
|
158
|
-
```
|
159
|
-
```
|
160
|
-
<VirtualHost *:80>
|
161
|
-
ServerName suzunet.orz.hm
|
162
|
-
<Location /aipo/>
|
163
|
-
ProxyPass ajp://localhost:8009/aipo/
|
164
|
-
</Location>
|
165
|
-
<Location /aipo>
|
166
|
-
ProxyPass ajp://localhost:8009/aipo
|
167
|
-
</Location>
|
168
|
-
<Location /container>
|
169
|
-
ProxyPass ajp://localhost:8009/container
|
170
|
-
</Location>
|
171
|
-
RewriteEngine on
|
172
|
-
RewriteCond %{SERVER_NAME} =suzunet.orz.hm
|
173
|
-
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,NE,R=permanent]
|
174
|
-
</VirtualHost>
|
175
|
-
<VirtualHost *:443>
|
176
|
-
ServerName suzunet.orz.hm
|
177
|
-
ProxyPreserveHost On
|
178
|
-
ProxyRequests Off
|
179
|
-
ProxyPass /aipo ajp://localhost:8009/aipo/
|
180
|
-
ProxyPass /aipo ajp://localhost:8009/container
|
181
|
-
ProxyPassReverse /aipo ajp://localhost:8009/aipo
|
182
|
-
|
183
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
184
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
185
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
186
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
187
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
188
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
189
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
190
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
191
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
192
|
-
SSLCertificateFile /etc/letsencrypt/live/suzunet.orz.hm/cert.pem
|
193
|
-
SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.orz.hm/privkey.pem
|
194
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
195
|
-
SSLCertificateChainFile /etc/letsencrypt/live/suzunet.orz.hm/chain.pem
|
196
|
-
</VirtualHost>
|
197
|
-
|
198
|
-
```
|
199
|
-
```<VirtualHost *:80>
|
200
|
-
ServerName suzunet.orz.hm
|
201
|
-
DirectoryIndex index.html index.htm index.php
|
202
|
-
|
203
|
-
ProxyRequests Off
|
204
|
-
ProxyPass /redmine http://127.0.0.1:3001/
|
205
|
-
ProxyPassReverse /redmine http://127.0.0.1:3001/
|
206
|
-
|
207
|
-
</VirtualHost>
|
208
|
-
|
209
|
-
<VirtualHost *:443>
|
210
|
-
ServerName suzunet.orz.hm
|
211
|
-
DirectoryIndex index.html index.htm index.php
|
212
|
-
|
213
|
-
ProxyRequests Off
|
214
|
-
ProxyPass /redmine http://127.0.0.1:3001/
|
215
|
-
ProxyPassReverse /redmine http://127.0.0.1:3001/
|
216
|
-
|
217
|
-
|
218
|
-
SSLCertificateFile /etc/letsencrypt/live/suzunet.orz.hm/cert.pem
|
219
|
-
SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.orz.hm/privkey.pem
|
220
|
-
Include /etc/letsencrypt/options-ssl-apache.conf
|
221
|
-
SSLCertificateChainFile /etc/letsencrypt/live/suzunet.orz.hm/chain.pem
|
222
|
-
</VirtualHost>
|
223
|
-
|
224
|
-
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
|
225
|
-
<IfModule mod_passenger.c>
|
226
|
-
PassengerRoot /usr/local/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/passenger-5.1.2
|
227
|
-
PassengerDefaultRuby /usr/local/rbenv/versions/2.3.3/bin/ruby
|
228
|
-
</IfModule>
|
229
|
-
RackBaseURI /redmine
|
230
|
-
|
231
|
-
```
|
232
|
-
|
233
|
-
```
|
234
62
|
error_log
|
235
63
|
[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)
|
236
64
|
[Tue Mar 13 18:58:35.833344 2018] [http2:warn] [pid 12087:tid 140709270775776] AH02951: mod_ssl does not seem to be enabled
|
@@ -249,8 +77,92 @@
|
|
249
77
|
[Tue Mar 13 19:10:29.846778 2018] [lbmethod_heartbeat:notice] [pid 13597:tid 140131694290912] AH02282: No slotmem from mod_heartmonitor
|
250
78
|
[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
|
251
79
|
[Tue Mar 13 19:10:29.848831 2018] [core:notice] [pid 13597:tid 140131694290912] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
|
80
|
+
```
|
81
|
+
```
|
82
|
+
[root@suzunet ~]# httpd -t -D DUMP_VHOSTS
|
83
|
+
httpd: Could not reliably determine the server's fully qualified domain name, using suzunet.orz.hm for ServerName
|
84
|
+
VirtualHost configuration:
|
85
|
+
wildcard NameVirtualHosts and _default_ servers:
|
86
|
+
*:443 is a NameVirtualHost
|
87
|
+
default server suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:16)
|
88
|
+
port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:16)
|
89
|
+
port 443 namevhost chatsuzunet.orz.hm (/etc/httpd/conf.d/chat-le-ssl.conf:1)
|
90
|
+
port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/redmine.conf:11)
|
91
|
+
port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/ssl.conf:74)
|
92
|
+
port 443 namevhost suzunet.info (/etc/httpd/conf.d/suzunet_info-le-ssl.conf:2)
|
93
|
+
port 443 namevhost suzunet.orz.hm (/etc/httpd/conf.d/suzunet_orz-le-ssl.conf:2)
|
94
|
+
*:80 is a NameVirtualHost
|
95
|
+
default server suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:1)
|
96
|
+
port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/aipo.conf:1)
|
97
|
+
port 80 namevhost chatsuzunet.orz.hm (/etc/httpd/conf.d/chat.conf:1)
|
98
|
+
port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/redmine.conf:1)
|
99
|
+
port 80 namevhost suzunet.info (/etc/httpd/conf.d/suzunet_info.conf:1)
|
100
|
+
port 80 namevhost suzunet.orz.hm (/etc/httpd/conf.d/suzunet_orz.conf:1)
|
101
|
+
Syntax OK
|
102
|
+
```
|
103
|
+
```
|
104
|
+
[root@suzunet ~]# httpd -M
|
105
|
+
httpd: Could not reliably determine the server's fully qualified domain name, using suzunet.orz.hm for ServerName
|
106
|
+
Loaded Modules:
|
107
|
+
core_module (static)
|
108
|
+
mpm_prefork_module (static)
|
109
|
+
http_module (static)
|
110
|
+
so_module (static)
|
111
|
+
auth_basic_module (shared)
|
112
|
+
auth_digest_module (shared)
|
113
|
+
authn_file_module (shared)
|
114
|
+
authn_alias_module (shared)
|
115
|
+
authn_anon_module (shared)
|
116
|
+
authn_dbm_module (shared)
|
117
|
+
authn_default_module (shared)
|
118
|
+
authz_host_module (shared)
|
119
|
+
authz_user_module (shared)
|
120
|
+
authz_owner_module (shared)
|
121
|
+
authz_groupfile_module (shared)
|
122
|
+
authz_dbm_module (shared)
|
123
|
+
authz_default_module (shared)
|
124
|
+
ldap_module (shared)
|
125
|
+
authnz_ldap_module (shared)
|
126
|
+
include_module (shared)
|
127
|
+
log_config_module (shared)
|
128
|
+
logio_module (shared)
|
129
|
+
env_module (shared)
|
130
|
+
ext_filter_module (shared)
|
131
|
+
mime_magic_module (shared)
|
132
|
+
expires_module (shared)
|
133
|
+
deflate_module (shared)
|
134
|
+
headers_module (shared)
|
135
|
+
usertrack_module (shared)
|
136
|
+
setenvif_module (shared)
|
137
|
+
mime_module (shared)
|
138
|
+
dav_module (shared)
|
139
|
+
status_module (shared)
|
140
|
+
autoindex_module (shared)
|
141
|
+
info_module (shared)
|
142
|
+
dav_fs_module (shared)
|
143
|
+
vhost_alias_module (shared)
|
144
|
+
negotiation_module (shared)
|
145
|
+
dir_module (shared)
|
146
|
+
actions_module (shared)
|
147
|
+
speling_module (shared)
|
148
|
+
userdir_module (shared)
|
149
|
+
alias_module (shared)
|
150
|
+
substitute_module (shared)
|
151
|
+
rewrite_module (shared)
|
152
|
+
proxy_module (shared)
|
153
|
+
proxy_balancer_module (shared)
|
154
|
+
proxy_ftp_module (shared)
|
155
|
+
proxy_http_module (shared)
|
156
|
+
proxy_ajp_module (shared)
|
157
|
+
proxy_connect_module (shared)
|
158
|
+
cache_module (shared)
|
159
|
+
suexec_module (shared)
|
160
|
+
disk_cache_module (shared)
|
161
|
+
cgi_module (shared)
|
162
|
+
version_module (shared)
|
163
|
+
php7_module (shared)
|
164
|
+
passenger_module (shared)
|
165
|
+
ssl_module (shared)
|
166
|
+
Syntax OK
|
252
167
|
|
253
|
-
|
254
|
-
|
255
|
-
コード
|
256
168
|
```
|
1
error_log
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,14 +18,11 @@
|
|
18
18
|
|
19
19
|
<VirtualHost *:443>
|
20
20
|
ServerName chatsuzunet.orz.hm
|
21
|
-
|
22
21
|
ProxyPass /websocket ws://localhost:3000/websocket
|
23
22
|
ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket
|
24
23
|
ProxyRequests Off
|
25
24
|
ProxyPass / http://127.0.0.1:3000/ retry=0
|
26
25
|
ProxyPassReverse / http://127.0.0.1:3000/
|
27
|
-
|
28
|
-
|
29
26
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
30
27
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
31
28
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
@@ -35,11 +32,9 @@
|
|
35
32
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
36
33
|
SSLCertificateChainFile /etc/letsencrypt/live/chatsuzunet.orz.hm-0001/chain.pem
|
37
34
|
</VirtualHost>
|
38
|
-
|
39
35
|
```
|
40
36
|
|
41
37
|
```suzunet.orz.hm
|
42
|
-
|
43
38
|
<VirtualHost *:80>
|
44
39
|
ServerName suzunet.orz.hm
|
45
40
|
DirectoryIndex index.html index.php index.cgi
|
@@ -70,12 +65,9 @@
|
|
70
65
|
|
71
66
|
```
|
72
67
|
```suzunet.info
|
73
|
-
|
74
68
|
<VirtualHost *:80>
|
75
69
|
ServerName suzunet.info
|
76
|
-
|
77
|
-
|
70
|
+
DocumentRoot /var/www/suzunet_info
|
78
|
-
|
79
71
|
KeepAlive Off
|
80
72
|
ProxyPass /.well-known/ !
|
81
73
|
ProxyPass / http://192.168.11.150/
|
@@ -84,23 +76,18 @@
|
|
84
76
|
<VirtualHost *:443>
|
85
77
|
ServerName suzunet.info
|
86
78
|
DirectoryIndex index.html index.php
|
87
|
-
|
88
79
|
AddDefaultCharset UTF-8
|
89
|
-
|
90
80
|
KeepAlive Off
|
91
81
|
ProxyPass / http://192.168.11.150/
|
92
82
|
|
93
83
|
# SSL
|
94
84
|
SSLEngine on
|
95
85
|
SSLProtocol All -SSLv3 -SSLv2
|
96
|
-
|
97
86
|
SSLCertificateFile /etc/letsencrypt/live/suzunet.info/cert.pem
|
98
87
|
SSLCertificateKeyFile /etc/letsencrypt/live/suzunet.info/privkey.pem
|
99
88
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
100
89
|
SSLCertificateChainFile /etc/letsencrypt/live/suzunet.info/chain.pem
|
101
|
-
|
102
90
|
</VirtualHost>
|
103
|
-
|
104
91
|
```
|
105
92
|
```
|
106
93
|
ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
|
@@ -118,9 +105,8 @@
|
|
118
105
|
Order allow,deny
|
119
106
|
Allow from all
|
120
107
|
</Directory>
|
121
|
-
|
122
108
|
```
|
123
|
-
```
|
109
|
+
```
|
124
110
|
LoadModule php7_module modules/libphp7-zts.so
|
125
111
|
</IfModule>
|
126
112
|
</IfModule>
|
@@ -137,16 +123,11 @@
|
|
137
123
|
Satisfy All
|
138
124
|
</IfModule>
|
139
125
|
</Files>
|
140
|
-
|
141
|
-
#
|
142
126
|
# Allow php to handle Multiviews
|
143
|
-
#
|
144
127
|
AddType text/html .php
|
145
128
|
|
146
|
-
#
|
147
129
|
# Add index.php to the list of files that will be served as directory
|
148
130
|
# indexes.
|
149
|
-
#
|
150
131
|
DirectoryIndex index.php
|
151
132
|
|
152
133
|
# mod_php options
|
@@ -157,8 +138,6 @@
|
|
157
138
|
<FilesMatch .php$>
|
158
139
|
SetHandler application/x-httpd-php
|
159
140
|
</FilesMatch>
|
160
|
-
|
161
|
-
#
|
162
141
|
# Uncomment the following lines to allow PHP to pretty-print .phps
|
163
142
|
# files as PHP source code:
|
164
143
|
#
|
@@ -249,5 +228,29 @@
|
|
249
228
|
</IfModule>
|
250
229
|
RackBaseURI /redmine
|
251
230
|
|
231
|
+
```
|
252
232
|
|
233
|
+
```
|
234
|
+
error_log
|
235
|
+
[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)
|
236
|
+
[Tue Mar 13 18:58:35.833344 2018] [http2:warn] [pid 12087:tid 140709270775776] AH02951: mod_ssl does not seem to be enabled
|
237
|
+
[Tue Mar 13 18:58:35.833953 2018] [lbmethod_heartbeat:notice] [pid 12087:tid 140709270775776] AH02282: No slotmem from mod_heartmonitor
|
238
|
+
[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
|
239
|
+
[Tue Mar 13 18:58:35.836412 2018] [core:notice] [pid 12087:tid 140709270775776] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
|
240
|
+
[Tue Mar 13 19:03:29.563950 2018] [mpm_event:notice] [pid 12087:tid 140709270775776] AH00491: caught SIGTERM, shutting down
|
241
|
+
[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)
|
242
|
+
[Tue Mar 13 19:03:29.739915 2018] [http2:warn] [pid 12761:tid 140311437895648] AH02951: mod_ssl does not seem to be enabled
|
243
|
+
[Tue Mar 13 19:03:29.740531 2018] [lbmethod_heartbeat:notice] [pid 12761:tid 140311437895648] AH02282: No slotmem from mod_heartmonitor
|
244
|
+
[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
|
245
|
+
[Tue Mar 13 19:03:29.742519 2018] [core:notice] [pid 12761:tid 140311437895648] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
|
246
|
+
[Tue Mar 13 19:10:29.680229 2018] [mpm_event:notice] [pid 12761:tid 140311437895648] AH00491: caught SIGTERM, shutting down
|
247
|
+
[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)
|
248
|
+
[Tue Mar 13 19:10:29.846107 2018] [http2:warn] [pid 13597:tid 140131694290912] AH02951: mod_ssl does not seem to be enabled
|
249
|
+
[Tue Mar 13 19:10:29.846778 2018] [lbmethod_heartbeat:notice] [pid 13597:tid 140131694290912] AH02282: No slotmem from mod_heartmonitor
|
250
|
+
[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
|
251
|
+
[Tue Mar 13 19:10:29.848831 2018] [core:notice] [pid 13597:tid 140131694290912] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd'
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
コード
|
253
256
|
```
|