Apache

From 탱이의 잡동사니
Revision as of 11:59, 16 May 2015 by Pchero (talk | contribs) (Created page with "== Overview == apache 사용법 설명 == Options == === -S === 현재 서비스 중인 웹사이트 목록을 표시한다. <pre> -S Show the settings as parsed from th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Rerfeneces

<references />