WEB/Apache

1. mod_status  Status 모듈은 서버 관리자에게 서버의 상태를 보여 준다. 쉽게 읽을 수 있는 HTML 페이지로 현재 서버 통계를 보여준다.Status 모듈은 Apache 설치 시 기본적으로 탑재 되어 있으며, 빌드 시 --disable-status 옵션으로 해당 기능을 사용하지 않게 설정은 가능하다. 만약 최초 빌드 시 삭제를 했다면, 다시 Apache를 재 빌드 해야 사용이 가능하다.1.1. 모듈 설치 확인$ apachectl -D DUMP_MODULES | grep status status_module (shared)1.2. 모니터링 설정  모니터링 설정 후 Apache 재기동을 해야 적용된다.1.2.1. $APACHE_HOME/conf/httpd.confLoadModule statu..
· WEB/Apache
1. Apache Rewrite Module  Apache는 서버 역할을 할 수 있는 최소한의 코어 만으로 이루어져 있고, 추가적인 기능을 사용할 때에는 모듈을 활성화 시켜야 한다. Rewrite 기능을 사용하기 위해서는 Rewrite 모듈을 활성화 해야 한다.2. mod_rewrite 활성화  httpd.conf 파일에 직접 추가 한다.LoadModule rewrite_module modules/mod_rewrite.so* 설정 후 Apache  재기동 필요3. 서버 변수변  수내  용HTTPSTLS/SSL 사용 여부 설정, on/off 값으로 설정SERVER_NAMEwww.google.com과 과 같이 서버 이름 설정REQUEST_URIwww.google.com/index.html  처럼 index...
· WEB/Apache
1. 설  치1.1. OpenSSL*** Installing development filesinstall ./include/openssl/aes.h -> /sw/web/apache/openssl/include/openssl/aes.hcp: './include/openssl/aes.h' and '/sw/web/apache/openssl/include/openssl/aes.h' are the same filemake: *** [Makefile:324: install_dev] Error 1설명OpenSSL 압축 해제한 디렉터리와 ./Configure설정 시 지정한 --prefix에 OpenSSL 홈 디렉터리가 일치할 때 발생대응 방법설치 파일 디렉터리(Install)와 설치 대상 디렉터리(Working) 분리..
· WEB/Apache
Apache 설정1. mod_jk를 사용한 연동1.1. Apache mod_jk 설치  mod_jk는 Apache와 Tomcat을 연동하기 위한 모듈mod_jk는 https://tomcat.apache.org/download-connectors.cgi에서 다운로드 가능하다다운로드한 파일은 ${APACHE_HOME}/modules/ 디렉터리에 업로드1.2. httpd.conf 파일 설정mod_jk 모듈을 사용하기 위하여 LoadModule 추가LoadModule jk_module modules/mod_jk.somod_jk 세부 설정JkWorkersFile /home/hfapache/apach2.4/conf/workers.properties # worker.propertis 설정 파일 경로JkLo..
Garfield_Jo
'WEB/Apache' 카테고리의 글 목록