Skip to content

Instantly share code, notes, and snippets.

@mstyne
Created April 5, 2012 16:18
Show Gist options
  • Save mstyne/2312284 to your computer and use it in GitHub Desktop.
Save mstyne/2312284 to your computer and use it in GitHub Desktop.
httpd wtf
# httpd -h
Usage: httpd [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
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
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-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
-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)
-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
@mstyne
Copy link
Author

mstyne commented Apr 5, 2012

y u no have -X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment