httpd.conf 문법 검사 > Linux

STUDY ROOM

Linux

httpd.conf 문법 검사

페이지 정보

작성자 JMStudy 작성일06-06-12 18:11 조회7,207회 댓글0건

본문

문제가 발생했을 때에는 httpd.conf (srm.conf, access.conf) 설정
/usr/sbin/httpd 명령에 -t 옵션을 주면 문법만 점검합니다.
기타 다른 옵션에 대하여 알고 싶을 때에는 -h 옵션을 사용하십시오.

예1) 문제가 없는 경우
/usr/sbin/httpd -t
Syntax OK

예2) 설정에 실수가 있는 경우

/usr/sbin/httpd -t
Syntax error on line 91 of /etc/httpd/conf/httpd.conf:
ServerType must be either 'inetd' or 'standalone'
댓글목록

등록된 댓글이 없습니다.