はじめての自宅サーバ構築 - Fedora/CentOS - Last Update 2008/07/07
It opened to 2004/09/19.
当サイトはFedora9で運用しています
Visitors
Pageviews
Today(IP/PV)
3,373,538
12,758,295
696/4,917

■ TIPS集『Webサーバ(Apache)』

 apacheの各種情報を調べるには?

apacheが起動中の各種ロードモジュールやそのバージョン等を見たい場合は「httpd.conf」の以下の部分を
コメントアウト部を取り除き、apache再起動後に「http://サーバアドレス/server-server-info」にアクセスします。

apache設定ファイルの変更
# vi /etc/httpd/conf/httpd.conf
#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
<Location /server-info>
  SetHandler server-info
  Order deny,allow
  Deny from all
  Allow from all
#  Allow from .example.com
</Location>

apacheの再起動
# vi # /etc/rc.d/init.d/httpd reload

なお、当機能を使用するには以下の「mod_info」がロードされている必要があります。
(同設定ファイルに以下の行が定義され、コメントアウトされていない事を確認してください。)
LoadModule info_module modules/mod_info.so
ページ先頭へ

Copyright(©)2004-2008 First home server construction. All Right Reserved.