iidaの日記: Apache HTTPD 2.4.1
Apache HTTPD 2.4.1を入れて、SSL/TLSの機能を見てみた。
- パス・フレーズを入れた後、端末に「httpd started」と表示されなくなった
- ログ・レベルを設定したモジュール名が、エラー・ログに記録される
[Tue Mar 06 09:38:26.359383 2012] [lbmethod_heartbeat:notice] [pid 15459:tid 1] AH02282: No slotmem from mod_heartmonitor
[Tue Mar 06 09:38:26.707614 2012] [mpm_event:notice] [pid 15459:tid 1] AH00489: Apache/2.4.1 (Unix) OpenSSL/1.0.0g configured -- resuming normal operations
[Tue Mar 06 09:38:26.708148 2012] [core:notice] [pid 15459:tid 1] AH00094: Command line: '/opt/apache/rev/4.1/bin/httpd -f /opt/apache/rev/4.1/conf/httpd.conf'
[Tue Mar 06 09:39:35.401882 2012] [core:notice] [pid 15459:tid 1] AH00052: child pid 15461 exit signal Bus error (10) 動作が不安定
$ curl -ks https://sky.secomtrust.net:43241/ | sed 9q
$ curl -ks https://sky.secomtrust.net:43241/
<html><body><h1>It works!</h1></body></html>
$ curl -ks https://sky.secomtrust.net:43241/
<html><body><h1>It works!</h1></body></html>
$ curl -Iks https://sky.secomtrust.net:43241/
$ curl -Iks https://sky.secomtrust.net:43241/ || echo $?
52
$ curl -Iks https://sky.secomtrust.net:43241/ || echo $?
52
$ curl -Iks https://sky.secomtrust.net:43241/ || echo $?
HTTP/1.1 200 OK
Date: Tue, 06 Mar 2012 00:50:25 GMT
Server: Apache/2.4.1 (Unix) OpenSSL/1.0.0g
Last-Modified: Mon, 11 Jun 2007 18:53:14 GMT
ETag: "2d-432a5e4a73a80"
Accept-Ranges: bytesContent-Length: 45
Content-Type: text/html
$ curl -Ik https://sky.secomtrust.net:43241/ || echo $?
curl: (52) Empty reply from server
52
Bus errorが出るようでは、不安定にもなるわな。
Apache HTTPD 2.4.1 More ログイン