質問編集履歴
4
追加情報付与
test
CHANGED
File without changes
|
test
CHANGED
@@ -168,4 +168,58 @@
|
|
168
168
|
|
169
169
|
|
170
170
|
|
171
|
+
■apachectl configtestの結果
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
```ここに言語を入力
|
176
|
+
|
177
|
+
*:80 is a NameVirtualHost
|
178
|
+
|
179
|
+
default server ほげほげ.com (/etc/httpd/conf/httpd.conf:130)
|
180
|
+
|
181
|
+
port 80 namevhost ほげほげ.com (/etc/httpd/conf/httpd.conf:130)
|
182
|
+
|
183
|
+
port 80 namevhost ほげほげ2.com (/etc/httpd/conf/httpd.conf:135)
|
184
|
+
|
185
|
+
*:443 ほげほげ.com (/etc/httpd/conf.d/ssl.conf:56)
|
186
|
+
|
187
|
+
ServerRoot: "/etc/httpd"
|
188
|
+
|
189
|
+
Main DocumentRoot: "/var/www/html"
|
190
|
+
|
191
|
+
Main ErrorLog: "/etc/httpd/logs/error_log"
|
192
|
+
|
193
|
+
Mutex ssl-stapling: using_defaults
|
194
|
+
|
195
|
+
Mutex proxy: using_defaults
|
196
|
+
|
197
|
+
Mutex authn-socache: using_defaults
|
198
|
+
|
199
|
+
Mutex ssl-cache: using_defaults
|
200
|
+
|
201
|
+
Mutex default: dir="/run/httpd/" mechanism=default
|
202
|
+
|
203
|
+
Mutex mpm-accept: using_defaults
|
204
|
+
|
205
|
+
Mutex authdigest-opaque: using_defaults
|
206
|
+
|
207
|
+
Mutex proxy-balancer-shm: using_defaults
|
208
|
+
|
209
|
+
Mutex rewrite-map: using_defaults
|
210
|
+
|
211
|
+
Mutex authdigest-client: using_defaults
|
212
|
+
|
213
|
+
PidFile: "/run/httpd/httpd.pid"
|
214
|
+
|
215
|
+
Define: DUMP_VHOSTS
|
216
|
+
|
217
|
+
Define: DUMP_RUN_CFG
|
218
|
+
|
219
|
+
User: name="apache" id=48
|
220
|
+
|
221
|
+
Group: name="apache" id=48
|
222
|
+
|
223
|
+
|
224
|
+
|
171
|
-
ご教示いただけますとありがたいです。
|
225
|
+
```ご教示いただけますとありがたいです。
|
3
example\.comに修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
取得したサブドメイン「demo.
|
5
|
+
取得したサブドメイン「demo.example.com」が
|
6
6
|
|
7
7
|
|
8
8
|
|
2
誤字修正、情報追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
DocumentRoot /var/www/html/sample
|
88
88
|
|
89
|
-
ServerName demo.hgehoge.com
|
89
|
+
ServerName demo.hogehoge.com
|
90
90
|
|
91
91
|
</VirtualHost>
|
92
92
|
|
@@ -104,4 +104,68 @@
|
|
104
104
|
|
105
105
|
```
|
106
106
|
|
107
|
+
|
108
|
+
|
109
|
+
追記
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
■httpd -Sの結果
|
114
|
+
|
115
|
+
```ここに言語を入力
|
116
|
+
|
117
|
+
VirtualHost configuration:
|
118
|
+
|
119
|
+
*:80 is a NameVirtualHost
|
120
|
+
|
121
|
+
default server <IPアドレス> (/etc/httpd/conf/httpd.conf:135)
|
122
|
+
|
123
|
+
port 80 namevhost <IPアドレス> (/etc/httpd/conf/httpd.conf:135)
|
124
|
+
|
125
|
+
port 80 namevhost hogehoge.com (/etc/httpd/conf/httpd.conf:140)
|
126
|
+
|
127
|
+
port 80 namevhost demo.hogehoge.com (/etc/httpd/conf/httpd.conf:145)
|
128
|
+
|
129
|
+
ServerRoot: "/etc/httpd"
|
130
|
+
|
131
|
+
Main DocumentRoot: "/etc/httpd/htdocs"
|
132
|
+
|
133
|
+
Main ErrorLog: "/etc/httpd/logs/error_log"
|
134
|
+
|
135
|
+
Mutex rewrite-map: using_defaults
|
136
|
+
|
137
|
+
Mutex authdigest-client: using_defaults
|
138
|
+
|
139
|
+
Mutex proxy: using_defaults
|
140
|
+
|
141
|
+
Mutex authn-socache: using_defaults
|
142
|
+
|
143
|
+
Mutex default: dir="/run/httpd/" mechanism=default
|
144
|
+
|
145
|
+
Mutex mpm-accept: using_defaults
|
146
|
+
|
147
|
+
Mutex authdigest-opaque: using_defaults
|
148
|
+
|
149
|
+
Mutex proxy-balancer-shm: using_defaults
|
150
|
+
|
151
|
+
PidFile: "/run/httpd/httpd.pid"
|
152
|
+
|
153
|
+
Define: DUMP_VHOSTS
|
154
|
+
|
155
|
+
Define: DUMP_RUN_CFG
|
156
|
+
|
157
|
+
User: name="apache" id=48 not_used
|
158
|
+
|
159
|
+
Group: name="apache" id=48 not_used
|
160
|
+
|
161
|
+
```
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
■configtestの結果
|
166
|
+
|
167
|
+
Syntax OK
|
168
|
+
|
169
|
+
|
170
|
+
|
107
171
|
ご教示いただけますとありがたいです。
|
1
文言修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
取得したサブドメイン「demo.
|
5
|
+
取得したサブドメイン「demo.hogehoge.com」が
|
6
6
|
|
7
7
|
|
8
8
|
|
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
DocumentRoot /var/www/html/sample
|
88
88
|
|
89
|
-
ServerName demo.
|
89
|
+
ServerName demo.hgehoge.com
|
90
90
|
|
91
91
|
</VirtualHost>
|
92
92
|
|