CentOS逆引きリファレンス


TOP > CentOS逆引きリファレンス > Apache

■Apache

ロードしているモジュールを一覧表示する

ロードしているモジュールを一覧表示するには、httpd コマンドの -M オプションを使用します。

# httpd -M
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 authz_owner_module (shared)
 authz_groupfile_module (shared)
 authz_dbm_module (shared)
 authz_default_module (shared)
 include_module (shared)
 log_config_module (shared)
 logio_module (shared)
 env_module (shared)
 ext_filter_module (shared)
 mime_magic_module (shared)
 expires_module (shared)
 deflate_module (shared)
 headers_module (shared)
 usertrack_module (shared)
 setenvif_module (shared)
 mime_module (shared)
 dav_module (shared)
 status_module (shared)
 autoindex_module (shared)
 info_module (shared)
 dav_fs_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 actions_module (shared)
 speling_module (shared)
 userdir_module (shared)
 alias_module (shared)
 substitute_module (shared)
 rewrite_module (shared)
 cache_module (shared)
 suexec_module (shared)
 disk_cache_module (shared)
 cgi_module (shared)
 version_module (shared)
 php5_module (shared)
 ssl_module (shared)
Syntax OK
[対象]
CentOS 5.x
CentOS 6.x
Apache 2.2.xx

バージョンを確認する

バージョンを確認するには、httpd コマンドの -v オプションを使用します。

# httpd -v
Server version: Apache/2.2.15 (Unix)
Server built:   Aug 13 2013 17:29:28

上記結果から、Apache のバージョンは、2.2.15 であることが確認できます。

[対象]
CentOS 5.x
CentOS 6.x
Apache 2.2.xx

設定ファイル(httpd.conf)の文法をチェックする

apachectl コマンドのオプション configtest にて設定ファイル(httpd.conf)の文法をチェックすることができます。
なお、問題がなければ Syntax OK が出力されます。

# apachectl configtest
Syntax OK
[対象]
CentOS 5.x
CentOS 6.x
Apache 2.2.xx

作成日:2013年07月21日
最終更新日:2013年10月1日

このページの上へ


スポンサーリンク


お問い合わせは、メールにて受け付けております。
メール:masahiro801[at]hotmail.com ※[at]を@に置き換えてください♪
Copyright (C) 2024CentOS逆引きリファレンス. All Rights Reserved.