Discovering the Modules Available on the Server


# httpd -l


This command lists the compiled-in modules in your server binary and should return something similar to the following:

Compiled in modules:   core.c   prefork.c   http_core.c   mod_so.c


If you compiled Apache with loadable module support, your modules will be built as shared-libraries and placed by default in a directory named modules/ (Apache 2.x) or libexec/ (Apache 1.3). To take a look at what shared modules are loaded into the server at runtime, you will need to take a look at the httpd.conf file and look for the appropriate LoadModule directives. With Apache 2.1/2.2, this is not necessary, as httpd -M will list all modules including those loaded at runtime.




Apache(c) Phrase Book(c) Essential Code and Commands
Apache Phrasebook
ISBN: 0672328364
EAN: 2147483647
Year: 2006
Pages: 254

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net