Take the 2-minute tour ×

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.

share|improve this question
add comment

2 Answers

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!

share|improve this answer
add comment

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.

share|improve this answer
I have info_module and the address results in a 404. I think your solution generally works but not in my case.. –  DanFromGermany Feb 25 at 13:41
@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 at 13:46
add comment

Your Answer


