Intro to Apache - ApacheCon 2005
httpd command line arguments
  • Many command line arguments

    
     rbowen@rhiannon:/usr/local/apache/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
    
      

Index
Back to httpd
Forward to httpd, cont'd

ApacheCon 2005 : Intro to Apache - Slide #79 of 164