http 2.2 setting
$ ln -s /home/http/apache/bin/apachectl /home/http/httpd $ ls -ld /home/http/httpd $ /home/http/httpd start $ netstat -ant | grep <port num> $ telnet <web.server.ip.addr> <port num> HEAD /index.html HTTP/1.1
apachectlを使い易い場所に移動
$ cd /home/http/apache/bin/ $ cp apachectl apachectl.orig $ diff apachectl apachectl.orig $ vi apachectl $ diff apachectl apachectl.orig $ cd /home/http/apache/conf/ $ cp httpd.conf httpd.conf.`date +%Y%m%d` $ diff httpd.conf httpd.conf.`date +%Y%m%d` $ vi http.conf <Location /server-status> SetHandler server-status Order Deny,Allow Deny from all Allow from 192.168.0. Allow from 127.0.0.1 </Location> $ diff httpd.conf httpd.conf.`date +%Y%m%d` $ /home/http/httpd status
「httpd(apachectl) status」 コマンドを使用可能に