Test how many modules are available in Apache2

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.

apache2_module_test

Note:on some systems this command may be:apachectl -M

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License