apache 4

Apache 웹서버 로그 설정

참조 :http://logcenter.net/wiki/index.php/Apache_웹서버의_로그설정 conf/httpd.conf # 에러로그를 쌓을 경로를 설정합니다. ErrorLog logs/error_log # 에러로그에 남길 로그레벨을 설정합니다. # 다음 중에 하나로 설정이 가능하지요 # debug, info, notice, warn, error, crit,alert, emerg. # debug가 가장 낮은 수준의 로그이고 emerg가 가장 높은 수준의 로그라고 보시면 되고 적어놓은 레벨 이상의 로그가 남습니다. 그래서 아래처럼 warn으로 해놓으면 warn, error, crit, alert, emerg 수준의 로그를 에러로그에 기록합니다. LogLevel warn # # LogFormat에서..

Web Server 2008.10.23

아파치 통계 페이지 보기

참고 :http://httpd.apache.org/docs/2.0/ko/mod/mod_status.html 테스트 환경 : # ./apachectl -v Server version: Apache/2.2.3 Server built: Dec 2 2006 16:21:38 설정 파일 변경 : {APACHE_HOME}/conf/httpd.conf수정 httpd.conf 거의 끝 부분에 보면 extra 쪽 conf 파일들을 include 하도록 되어 있는데, extra/httpd-info.conf이 부분의 주석 처리를 해제해준다. (제껀 387라인) {APACHE_HOME}/conf/extra/httpd-info.conf수정 httpd.conf에서 httpd-info.conf를 읽도록 수정한 상태(위 1번에서 하는..

Web Server 2008.06.03