homepage Welcome to WebmasterWorld Guest from 54.145.243.51
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Help with Apache modules list cleanup
Jakotsu

10+ Year Member



 
Msg#: 3844543 posted 5:55 pm on Feb 7, 2009 (gmt 0)

Hi, I'd like to disable some extensions on my dedicated server because I need to optimize resources usage at maximum. I have a spanish social network site with heavy traffic.

I have DirectAdmin and eAccelerator installed on this server, I'd really appreciate if someone could point which extensions are really useless, thanks.

mod_authn_file
mod_authn_default
mod_authz_host
mod_authz_groupfile
mod_authz_user
mod_authz_default
mod_auth_basic
mod_include
mod_filter
mod_deflate
mod_log_config
mod_logio
mod_env
mod_headers
mod_unique_id
mod_setenvif
mod_proxy
mod_proxy_connect
mod_proxy_ftp
mod_proxy_http
mod_proxy_ajp
mod_proxy_balancer
mod_ssl
prefork
http_core
mod_mime
mod_dav
mod_status
mod_autoindex
mod_asis
mod_suexec
mod_cgi
mod_dav_fs
mod_dav_lock
mod_negotiation
mod_dir
mod_actions
mod_userdir
mod_alias
mod_rewrite
mod_so
mod_php5

 

jdMorgan

WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3844543 posted 6:25 pm on Feb 7, 2009 (gmt 0)

You can either do the research to determine what modules your applications require, or go through the list of modules, commenting out each module in turn and then testing your site to see if it still works. If it does, run it for a few days to be sure see it still works under circumstances which you probably did not test manually. Make config file backups and keep accurate and detailed notes as to which modules were removed on what dates, so that if you have a problem you can back out recent changes without having to start all over again!

Look at mod_uniqueid, mod_userdir, and the mod_proxy and mod_dav families of modules to start. Do you use SSL? Content-negotiation? If not, you can comment-out those modules.

I'd be looking for other things to optimize in addition to removing these modules -- I doubt you'll see a very dramatic runtime performance gain just from commenting-out unused modules. Script coding and database query optimizations are likely to give you more benefit.

Jim

jdMorgan

WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3844543 posted 6:27 pm on Feb 7, 2009 (gmt 0)

A further thought: Just because you don't use a module today doesn't mean you won't need it. For example, mod_status is useful for debugging serious server problems, so don't remove it just to get a tiny gain.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved