본문 바로가기

리눅스

[아파치] Apache Server Information

반응형

Apache Server Information

 

: Apache 서버의 상태와 성능에 대한 정보를 제공하고 서버 설정에 대한 종합적인 정보를 제공.

 

# vi /usr/local/apache2/conf/extra/httpd-info.conf

 

#

# Get information about the requests being processed by the server

# and the configuration of the server.

#

# Required modules: mod_status (for the server-status handler),

#                   mod_info (for the server-info handler)

 

#

# Allow server status reports generated by mod_status,

# with the URL of http://servername/server-status

# Change the ".example.com" to match your domain to enable.

 

<Location /server-status>

    SetHandler server-status

    Order deny,allow

    Deny from all

    Allow from 127.0.0.1

</Location>

 

#

# ExtendedStatus controls whether Apache will generate "full" status

# information (ExtendedStatus On) or just basic information (ExtendedStatus

# Off) when the "server-status" handler is called. The default is Off.

#

ExtendedStatus On

 

#

# 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 127.0.0.1

</Location>

 

웹페이지 확인

 

http://sangchul.kr/server-status

 

 

 

 

 

 

728x90
반응형