Contents

Apacheサーバステータス

Apacheサーバの状態を見ることができる。

設定変更

  • /etc/apache2/apache2.conf
# diff apache2.conf apache2.conf.org 
374,379c374,379
< <Location /server-status>
<     SetHandler server-status
<     Order deny,allow
<     Deny from all
<     Allow from 150.82.
< </Location>
---
> #<Location /server-status>
> #    SetHandler server-status
> #    Order deny,allow
> #    Deny from all
> #    Allow from .your_domain.com
> #</Location>

「150.82.」のところは自分の環境にあわせて変更する。

# /etc/init.d/apache2 restart

として再起動する。

にアクセスする。

Last modified: 2006-09-05