Various times I’ve had a problem with Apache and I’ve wanted to be able to display all of the configuration files as they are seen when parsed by Apache. As I can never remember now to do it I thought I would document it here.
mod_info module can be used to do this. Just add the following to one of the hosts in your Apache configuration and then go to the
/server-info address on your server.
Deny from all
Allow from 192.168.0.1
Don’t forget to secure access to this location by IP address or other method (see deny and allow directives above).