Sometimes we need to know how many modules are available in Apache2,for example,you want to enable mod_rewrite in Linux server,normally we need to test if the mod_rewrite module has been added first.We can use command:apache2ctl -M to test how many modules are available in Apache2.
Note:on some systems this command may be:apachectl -M
