Having many configuration files, I put up one file but I don't see its effects.

Either my config is WRONG, OR the config files are NOT LOADED by Apache.

Is there a command I can fire to see wether a specific config file got loaded by Apache or not?

apachectl configtest

Does not print errors. Server restarts without error.

3 Answers 3


From command line you can also run the following arguments with the Apache binary to get additional information:

-t -D DUMP_VHOSTS  : show parsed vhost settings
-t -D DUMP_RUN_CFG : show parsed run settings
-t -D DUMP_MODULES : show all loaded modules

Hope this helps!


If you have the mod_info module activated, simply access

http://[you server's IP]/server-info

There you'll see the entire Apache configuration.

  • 1
    I have info_module and the address results in a 404. I think your solution generally works but not in my case..
    – Daniel W.
    Feb 25, 2014 at 13:41
  • 3
    @DanFromGermany make sure that you also have appropriate handlers configured as per that link. If you get 404 that means Apache is not treating it as mod_info request but rather a regular one.
    – Mxx
    Feb 25, 2014 at 13:46

You can do this with apachectl.

apachectl -D DUMP_INCLUDES


apachectl -D DUMP_INCLUDES -f /path/to/your/httpd.conf

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .