質問編集履歴

5

修正

2017/06/18 15:28

投稿

tama2015
tama2015

スコア63

test CHANGED
File without changes
test CHANGED
@@ -1,8 +1,8 @@
1
1
  `Linux`の`Xampp`で
2
2
 
3
- ・`http://hogehoge/` へのアクセスが
3
+ ・`http://hoge_hoge/` へのアクセスが
4
-
4
+
5
- `/opt/lampp/hogehoge/fuelphp/public/index.php`
5
+ `/opt/lampp/hoge_hoge/fuelphp/public/index.php`
6
6
 
7
7
  へのアクセスとなるように設定したいです。
8
8
 
@@ -34,7 +34,7 @@
34
34
 
35
35
  【修正ファイル】
36
36
 
37
- `/opt/lampp/hogehoge/fuelphp/public/index.php`
37
+ `/opt/lampp/hoge_hoge/fuelphp/public/index.php`
38
38
 
39
39
 
40
40
 
@@ -92,7 +92,7 @@
92
92
 
93
93
  ```
94
94
 
95
- 127.0.0.1 localhost hogehoge
95
+ 127.0.0.1 localhost hoge_hoge
96
96
 
97
97
  ```
98
98
 
@@ -116,11 +116,11 @@
116
116
 
117
117
  <VirtualHost *:80>
118
118
 
119
- DocumentRoot "/opt/lampp/hogehoge/fuelphp/public"
119
+ DocumentRoot "/opt/lampp/hoge_hoge/fuelphp/public"
120
-
120
+
121
- ServerName hogehoge
121
+ ServerName hoge_hoge
122
-
122
+
123
- <Directory "/opt/lampp/hogehoge/fuelphp/public">
123
+ <Directory "/opt/lampp/hoge_hoge/fuelphp/public">
124
124
 
125
125
  Order Allow,Deny
126
126
 
@@ -160,7 +160,7 @@
160
160
 
161
161
  【アクセス結果】
162
162
 
163
- ・`http://hogehoge/` にブラウザでアクセス
163
+ ・`http://hoge_hoge/` にブラウザでアクセス
164
164
 
165
165
 
166
166
 

4

追記

2017/06/18 15:28

投稿

tama2015
tama2015

スコア63

test CHANGED
File without changes
test CHANGED
@@ -190,7 +190,13 @@
190
190
 
191
191
  【サーバーのログ】
192
192
 
193
-
193
+ `sudo /opt/lampp/lampp stop`時に`Apache`
194
+
195
+ がストップしなかったことがありましたので
196
+
197
+ `*** Error in `/opt/lampp/bin/httpd':`に
198
+
199
+ 関してはそれが原因かと思われます。
194
200
 
195
201
 
196
202
 

3

追記

2017/06/18 09:28

投稿

tama2015
tama2015

スコア63

test CHANGED
File without changes
test CHANGED
@@ -179,3 +179,99 @@
179
179
  Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
180
180
 
181
181
  ```
182
+
183
+
184
+
185
+
186
+
187
+ 追記
188
+
189
+
190
+
191
+ 【サーバーのログ】
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+ `/opt/lampp/logs/error_log`
200
+
201
+
202
+
203
+
204
+
205
+ ```
206
+
207
+ *** Error in `/opt/lampp/bin/httpd': free(): invalid pointer: 0x0000000000a59cf0 ***
208
+
209
+ ======= Backtrace: =========
210
+
211
+ /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f15275897e5]
212
+
213
+ /lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7f1527591e0a]
214
+
215
+
216
+
217
+ --省略--
218
+
219
+
220
+
221
+ [Sun Jun 18 17:58:03.147083 2017] [core:notice] [pid 3310] AH00052: child pid 3510 exit signal Segmentation fault (11)
222
+
223
+ [Sun Jun 18 17:58:03.147131 2017] [core:notice] [pid 3310] AH00052: child pid 3511 exit signal Aborted (6)
224
+
225
+ [Sun Jun 18 17:58:03.163736 2017] [core:notice] [pid 3310] AH00052: child pid 3509 exit signal Segmentation fault (11)
226
+
227
+ [Sun Jun 18 17:58:03.163807 2017] [mpm_prefork:notice] [pid 3310] AH00169: caught SIGTERM, shutting down
228
+
229
+ [Sun Jun 18 17:58:53.003412 2017] [ssl:warn] [pid 3360] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
230
+
231
+ [Sun Jun 18 17:58:53.003688 2017] [ssl:warn] [pid 3360] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
232
+
233
+ [Sun Jun 18 17:58:53.003782 2017] [suexec:notice] [pid 3360] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
234
+
235
+ [Sun Jun 18 17:58:53.042420 2017] [auth_digest:notice] [pid 3376] AH01757: generating secret for digest authentication ...
236
+
237
+ [Sun Jun 18 17:58:54.001566 2017] [ssl:warn] [pid 3376] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
238
+
239
+ [Sun Jun 18 17:58:54.001613 2017] [ssl:warn] [pid 3376] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
240
+
241
+ [Sun Jun 18 17:58:54.001699 2017] [lbmethod_heartbeat:notice] [pid 3376] AH02282: No slotmem from mod_heartmonitor
242
+
243
+ [Sun Jun 18 17:58:54.027525 2017] [mpm_prefork:notice] [pid 3376] AH00163: Apache/2.4.25 (Unix) OpenSSL/1.0.2j PHP/7.1.1 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
244
+
245
+ [Sun Jun 18 17:58:54.027554 2017] [core:notice] [pid 3376] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
246
+
247
+ ```
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+ `/opt/lampp/logs/access_log`
256
+
257
+
258
+
259
+
260
+
261
+ ```
262
+
263
+ 127.0.0.1 - - [18/Jun/2017:17:46:39 +0900] "GET /favicon.ico HTTP/1.1" 400 347
264
+
265
+ 127.0.0.1 - - [18/Jun/2017:17:51:53 +0900] "GET / HTTP/1.1" 400 347
266
+
267
+ 127.0.0.1 - - [18/Jun/2017:17:59:17 +0900] "GET / HTTP/1.1" 400 347
268
+
269
+ 127.0.0.1 - - [18/Jun/2017:17:59:17 +0900] "GET /favicon.ico HTTP/1.1" 400 347
270
+
271
+ 127.0.0.1 - - [18/Jun/2017:17:59:21 +0900] "GET / HTTP/1.1" 400 347
272
+
273
+ 127.0.0.1 - - [18/Jun/2017:18:07:57 +0900] "GET / HTTP/1.1" 400 347
274
+
275
+ 127.0.0.1 - - [18/Jun/2017:18:08:37 +0900] "GET / HTTP/1.1" 400 347
276
+
277
+ ```

2

説明追記

2017/06/18 09:19

投稿

tama2015
tama2015

スコア63

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  【修正内容】
42
42
 
43
- ・テスト表示用に以下を追加
43
+ ・テスト表示用に以下の内容だけのファイルを追加
44
44
 
45
45
  ```
46
46
 

1

タイポ

2017/06/18 08:36

投稿

tama2015
tama2015

スコア63

test CHANGED
File without changes
test CHANGED
@@ -118,7 +118,7 @@
118
118
 
119
119
  DocumentRoot "/opt/lampp/hogehoge/fuelphp/public"
120
120
 
121
- ServerName people_playground
121
+ ServerName hogehoge
122
122
 
123
123
  <Directory "/opt/lampp/hogehoge/fuelphp/public">
124
124