# CentOS: httpd invalid command

Was configuring a CentOS 6 server recently, and I decided to comment out all httpd (i.e. Apache) LoadModule directives. Upon restart, there were several invalid commands, so I took the time to note ’em down as it wasn’t obvious (to me, at least) which commands were provided by which modules.

I liken this to a cheat sheet to http://httpd.apache.org/docs/2.2/ then:

``` Invalid command 'AddHandler': mod_mime Invalid command 'Alias': mod_alias Invalid command 'BrowserMatch': mod_setenvif Invalid command 'DirectoryIndex': mod_dir Invalid command 'IndexOptions': mod_autoindex Invalid command 'LanguagePriority': mod_negotiation Invalid command 'LogFormat': mod_log_config Invalid command 'Order': mod_authz_host Invalid command 'TransferLog': mod_log_config```