From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 19:15:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37EE8106564A for ; Tue, 28 Apr 2009 19:15:02 +0000 (UTC) (envelope-from chowse@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id F08F38FC1C for ; Tue, 28 Apr 2009 19:15:01 +0000 (UTC) (envelope-from chowse@charter.net) Received: from imp09 ([10.20.200.9]) by mta11.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090428191448.UOQL22327.mta11.charter.net@imp09> for ; Tue, 28 Apr 2009 15:14:48 -0400 Received: from larry.local ([24.176.106.117]) by imp09 with smtp.charter.net id l7Eo1b00B2Y01io057Eo6B; Tue, 28 Apr 2009 15:14:48 -0400 Message-Id: From: Charles Howse To: FreeBSD Questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 28 Apr 2009 14:14:48 -0500 X-Mailer: Apple Mail (2.930.3) Subject: Running Apache with as few modules as possible X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2009 19:15:02 -0000 Hi, I ran across this web page the other day, and it seems like a reasonable choice for me (running on kinda low-end hardware). I have these modules in my config for my "development server", and I use the term loosely, it's really my "make your mistakes here, instead of on the REAL web server" machine. I researched each module on the Apache site, and to the extent that I understood, chose whether to comment them or not. It loads without any syntax errors, and I have tested the things that I can think of that might require a module. I'm not doing any user authentication, no dynamic pages, no forms, some cgi scripts, all but 2 in SSI, the other 2 in Perl. Can anyone see anything that I've commented that I'll be sorry for? Can anyone suggest any more testing I should do? LoadModule security2_module libexec/apache22/mod_security2.so ##LoadModule authn_file_module libexec/apache22/mod_authn_file.so ##LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so ##LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so LoadModule authn_default_module libexec/apache22/mod_authn_default.so LoadModule authz_host_module libexec/apache22/mod_authz_host.so ##LoadModule authz_groupfile_module libexec/apache22/ mod_authz_groupfile.so ##LoadModule authz_user_module libexec/apache22/mod_authz_user.so ##LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so ##LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so LoadModule authz_default_module libexec/apache22/mod_authz_default.so ##LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so ##LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so LoadModule file_cache_module libexec/apache22/mod_file_cache.so LoadModule cache_module libexec/apache22/mod_cache.so LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so LoadModule include_module libexec/apache22/mod_include.so LoadModule filter_module libexec/apache22/mod_filter.so ##LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so ##LoadModule deflate_module libexec/apache22/mod_deflate.so LoadModule log_config_module libexec/apache22/mod_log_config.so LoadModule logio_module libexec/apache22/mod_logio.so ##LoadModule env_module libexec/apache22/mod_env.so LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so ##LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so ##LoadModule expires_module libexec/apache22/mod_expires.so ##LoadModule headers_module libexec/apache22/mod_headers.so ##LoadModule usertrack_module libexec/apache22/mod_usertrack.so LoadModule unique_id_module libexec/apache22/mod_unique_id.so ##LoadModule setenvif_module libexec/apache22/mod_setenvif.so #LoadModule ssl_module libexec/apache22/mod_ssl.so LoadModule mime_module libexec/apache22/mod_mime.so ##LoadModule dav_module libexec/apache22/mod_dav.so ##LoadModule status_module libexec/apache22/mod_status.so LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule asis_module libexec/apache22/mod_asis.so LoadModule info_module libexec/apache22/mod_info.so LoadModule cgi_module libexec/apache22/mod_cgi.so ##LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so ##LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so LoadModule negotiation_module libexec/apache22/mod_negotiation.so LoadModule dir_module libexec/apache22/mod_dir.so LoadModule imagemap_module libexec/apache22/mod_imagemap.so ##LoadModule actions_module libexec/apache22/mod_actions.so ##LoadModule speling_module libexec/apache22/mod_speling.so ##LoadModule userdir_module libexec/apache22/mod_userdir.so LoadModule alias_module libexec/apache22/mod_alias.so ##LoadModule rewrite_module libexec/apache22/mod_rewrite.so -- Thanks, Charles http://bubbabbq.homeunix.net Personal web site, Apache 2.2.11, FreeBSD-6.4-STABLE