Apache

From 탱이의 잡동사니
Revision as of 09:04, 10 August 2015 by Pchero (talk | contribs) (→‎Options)
Jump to navigation Jump to search

Overview

apache 사용법 설명

Options

-S

현재 서비스 중인 웹사이트 목록을 표시한다.

-S     Show the settings as parsed from the config file (currently only shows the virtualhost settings).

Example

~# apache2ctl -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:

*:8080                 is a NameVirtualHost
default server ispconfig.local (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
  port 8080 namevhost ispconfig.local (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)

*:8081                 is a NameVirtualHost
default server ispconfig.local (/etc/apache2/sites-enabled/000-apps.vhost:10)
  port 8081 namevhost ispconfig.local (/etc/apache2/sites-enabled/000-apps.vhost:10)

*:80                   is a NameVirtualHost
default server ispconfig.local (/etc/apache2/sites-enabled/000-default:1)
  port 80 namevhost ispconfig.local (/etc/apache2/sites-enabled/000-default:1)
  port 80 namevhost example.com (/etc/apache2/sites-enabled/example.com.vhost:7)

Syntax OK

-M

현재 로드된 모듈 목록을 표시한다.

Example

$ ./apachectl -M |sort
 access_compat_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 core_module (static)
 dir_module (shared)
 env_module (shared)
 filter_module (shared)
 headers_module (shared)
 http_module (static)
 jk_module (shared)
Loaded Modules:
 log_config_module (shared)
 mime_module (shared)
 mpm_event_module (static)
 reqtimeout_module (shared)
 setenvif_module (shared)
 so_module (static)
 status_module (shared)
 unixd_module (shared)
 version_module (shared)

Rerfeneces

<references />