View compiled apache modules

If Apache v2.x is installed on your server, you can view all of the modules compiled in with Apache by running the following command:

httpd -l

Also, you can use the following parameters.

-v Print the version of httpd
-L Output a list of directives together with expected arguments and places where the directive is valid.
-V Show compile settings
-S gives a listing of how the active vhosts are configured and in what order they are loaded, including IP addresses, domain names, port and other info (very handy!)


I am a g33k, Linux blogger, developer, student and Tech Writer for My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.