Apache: modules
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
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.
Alright, that should get you started at least. Check the page komy suggested for rest.