Usage: httpd [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-w] [-k start|restart|stop|shutdown]
[-k install|config|uninstall] [-n service_name
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
httpd -t
It is quivalent to the command used in linux: apachectl configtest. Other options are,
-D name : define a name for use in <IfDefine n
-d directory : specify an alternate initial ServerR
-f file : specify an alternate ServerConfigFil
-C "directive" : process directive before reading con
-c "directive" : process directive after reading conf
-n name : set service name and use its ServerC
-k start : tell Apache to start
-k restart : tell running Apache to do a graceful
-k stop|shutdown : tell running Apache to shutdown
-k install : install an Apache service
-k config : change startup Options of an Apache
-k uninstall : uninstall an Apache service
-w : hold open the console window on erro
-e level : show startup errors of level (see Lo
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options
-l : list compiled in modules
-L : list available configuration directi
-t -D DUMP_VHOSTS : show parsed settings (currently only
-S : a synonym for -t -D DUMP_VHOSTS
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files
[-C "directive"] [-c "directive"]
[-w] [-k start|restart|stop|shutdown]
[-k install|config|uninstall] [-n service_name
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
httpd -t
It is quivalent to the command used in linux: apachectl configtest. Other options are,
-D name : define a name for use in <IfDefine n
-d directory : specify an alternate initial ServerR
-f file : specify an alternate ServerConfigFil
-C "directive" : process directive before reading con
-c "directive" : process directive after reading conf
-n name : set service name and use its ServerC
-k start : tell Apache to start
-k restart : tell running Apache to do a graceful
-k stop|shutdown : tell running Apache to shutdown
-k install : install an Apache service
-k config : change startup Options of an Apache
-k uninstall : uninstall an Apache service
-w : hold open the console window on erro
-e level : show startup errors of level (see Lo
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options
-l : list compiled in modules
-L : list available configuration directi
-t -D DUMP_VHOSTS : show parsed settings (currently only
-S : a synonym for -t -D DUMP_VHOSTS
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files