Apache: modules

So here is my apache list off modules, all im running that i currently use is php, but im not sure what the other modules are for, can anyone explalin them for me? am trying to tweek things

ClearModuleList

AddModule mod_so.c

AddModule mod_macro.c

LoadModule configlogmodule /usr/lib/apache/1.3/modlogconfig.so

LoadModule mimemagicmodule /usr/lib/apache/1.3/modmimemagic.so

LoadModule mimemodule /usr/lib/apache/1.3/modmime.so

LoadModule negotiationmodule /usr/lib/apache/1.3/modnegotiation.so

LoadModule statusmodule /usr/lib/apache/1.3/modstatus.so

LoadModule autoindexmodule /usr/lib/apache/1.3/modautoindex.so

LoadModule dirmodule /usr/lib/apache/1.3/moddir.so

LoadModule cgimodule /usr/lib/apache/1.3/modcgi.so

LoadModule userdirmodule /usr/lib/apache/1.3/moduserdir.so

LoadModule aliasmodule /usr/lib/apache/1.3/modalias.so

LoadModule rewritemodule /usr/lib/apache/1.3/modrewrite.so

LoadModule accessmodule /usr/lib/apache/1.3/modaccess.so

LoadModule authmodule /usr/lib/apache/1.3/modauth.so

LoadModule expiresmodule /usr/lib/apache/1.3/modexpires.so

LoadModule setenvifmodule /usr/lib/apache/1.3/modsetenvif.so

LoadModule sslmodule /usr/lib/apache/1.3/modssl.so

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

2 Replies

While RTFM is always a good idea, I can sympathize with your question because module names and descriptions can be quite confusing.

Here are some hints:

mod_alias - Keep it.

mod_auth - Simple HTTP authentication (pops up a username/dialog box in browsers). Most PHP apps do not use this, so its probably safe to disable.

mod_cgi - Do you use CGI scripts? Perl scripts? Lots of form mail scripts are CGI scripts, but if you're a PHP fan, probably not. Disable it.

mod_dir - Keep it.

mod_mime - Keep it! Its needed for PHP's handler directive.

modmimemagic - Basically a backup for mod_mime. Probably not required on a well configured system, but keep it just to sleep well at night.

mod_negotiation - You probably don't use it, but you might want to keep it. Apache itself uses it for the default document root files.

mod_rewrite - rewrites URLs, used by some apps, such as Drupal, to create "pretty" or "clean" URLs. if none of your Apache conf files or .htaccess files contain a "Rewrite" statement, you might as well remove it

mod_ssl - If you don't use SSL (https://), you might as well disable it

mod_status - If you're asking about this one, then you don't use it. :) Disable it. You can play around with it if you want, its kinda neat.

Alright, that should get you started at least. Check the page komy suggested for rest.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct