강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

httpd의 간략한 사용법과 도움말 확인하기

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

httpd의 간략한 사용법과 도움말 확인하기

 

httpd의 실행옵션을 확인하는 옵션은 -h입니다.  

 

 

  httpd실행을 일반적인 실행외에 별도의 옵션을 주어서 실행하고자 할 때에 이 옵션으로 사용할 옵션을 한 번 확인해 보면 도움이 됩니다.  

 

 

 

 

[root@host3 bin]# ./httpd -h
Usage: ./httpd [-D name] [-d directory] [-f file]
               [-C "directive"] [-c "directive"]
               [-v] [-V] [-h] [-l] [-L] [-S] [-t] [-T] [-F]
Options:
  -D name          : define a name for use in <IfDefine name> directives
  -d directory     : specify an alternate initial ServerRoot
  -f file          : specify an alternate ServerConfigFile
  -C "directive"   : process directive before reading config files
  -c "directive"   : process directive after  reading config files
  -v               : show version number
  -V               : show compile settings
  -h               : list available command line options (this page)
  -l               : list compiled-in modules
  -L               : list available configuration directives
  -S               : show parsed settings (currently only vhost settings)
  -t               : run syntax check for config files (with docroot check)
  -T               : run syntax check for config files (without docroot check)
  -F               : run main process in foreground, for process supervisors
[root@host3 bin]#


 

이상으로 httpd의 실행옵션에 대한 설명을 마무리합니다.  

 

 

 httpd.conf의 문법검사, 또는 아파치의 httpd.conf파일을 용도별로 사용하여 실행하는 방법, 그리고 아파치 모듈확인, 아파치 가상호스트확인등을 하기 위해서는 반드시 알고있어야 할 것입니다.    

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,042 명
  • 현재 강좌수 :  35,846 개
  • 현재 접속자 :  151 명