LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compiling apache modules (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-apache-modules-116805/)

e1000 11-16-2003 05:22 PM

compiling apache modules
 
when doing the ./configure command for apache 2, im a little confiused about modules. here's what the apache documentation site has to say about module options:

--enable-modules=MODULE-LIST
Compile and include the modules listed in the space-separated MODULE-LIST.

--enable-mods-shared=MODULE-LIST
Compile and include the modules in the space-separated MODULE-LIST as dynamically loadable (DSO) modules.

whats the difference between shared and just regular? which is better for an apache noob like me? (i have a book to help me out but it just doesnt cover this, just saying that so you know i wont be asking a question here every 15 seconds)
(i plan on using the "most" option for my module confguration)

Azmeen 11-17-2003 12:16 AM

From the Apache 2 Documentation:
Quote:

There are two ways for a module to be compiled and used with Apache. Modules may be statically compiled, which means that they are permanently included in the Apache binary. Alternatively, if your operating system supports Dynamic Shared Objects (DSOs) and autoconf can detect that support, then modules may be dynamically compiled. DSO modules are stored separately from the Apache binary, and may be included or excluded from the server using the run-time configuration directives provided by mod_so.
I'd gather from that statement, it'll be something to kernel compilation... ie. Some features you can build in, and some you can load in at runtime (via modprobe).

In the case of Apache, you can define loadable modules in your httpd.conf file.


All times are GMT -5. The time now is 06:01 PM.