[Apache] Apache에 로딩된 모듈 확인(DUMP_MODULES)
본문 바로가기
IT 이야기/Apache

[Apache] Apache에 로딩된 모듈 확인(DUMP_MODULES)

by 찬찬이 아빠 2019. 11. 28.
반응형

Apache 모듈을 확인하기 위해서는 httpd 프로세스를 확인하여 Apache HOME 디렉터리를 확인합니다.

Apache HOME 디렉터리를 확인했다면 apachectl.sh 파일이 있는 sbin 디렉터리로 이동하여 모듈을 확인합니다.

 

# ps -ef | grep httpd
# cd /APACHE/jbcs-httpd24-2.4/httpd/sbin

<확인 방법 1>
./apachectl -f /APACHE/jbcs-httpd24-2.4/httpd/conf/httpd.conf -M

<확인 방법 2>
./httpd -f /APACHE/jbcs-httpd24-2.4/httpd/conf/httpd.conf -t -D DUMP_MODULES

Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
access_compat_module (shared)
actions_module (shared)
allowmethods_module (shared)
auth_basic_module (shared)
... 이하 생략 ...
반응형

댓글