↑ ↓ select, Enter open, Esc close

List all configuration files Apache loads

root@server
apache2ctl -t -D DUMP_INCLUDES

Prints a numbered list of all configuration files actually included, in the order Apache processes them. Useful when a setting seems to be ignored because a file loaded later overrides it. A syntax test runs at the same time.

Also searched as

  • which apache config files are loaded
  • where is an apache setting defined
  • apache include order
  • apache2ctl dump includes

Related one-liners

All in Apache

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.