Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fradee/a02656d561194548408bfd5c3d045f54 to your computer and use it in GitHub Desktop.
Save fradee/a02656d561194548408bfd5c3d045f54 to your computer and use it in GitHub Desktop.
magento - apache modules that are not needed
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule mime_module modules/mod_mime.so
LoadModule dir_module modules/mod_dir.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
mod_expires – generates content expiration and cache control headers
mod_deflate - compresses content before it is delivered to the client
mod_mime - associates the requested file with its type and behavior
mod_dir – serves directory index files
mod_rewrite – is used to support Search Engine Friendly URL’s
mod_authz_host – is required to limit access to specific files
mod_authz_user – might be required in a staging environment to setup password authentication, but on a live site it is not necessary
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule headers_module modules/mod_headers.so
LoadModule alias_module modules/mod_alias.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule suexec_module modules/mod_suexec.s
Here is the list of apache modules which we were able to disable safely. This list is published just to give you idea, so be careful and consider your specific needs before disabling these.
Here is the list
proxy
proxy_ajp
proxy_balancer
proxy_connect
proxy_ftp
proxy_http
bw (bandwidth usage)
cache (disk and memory cache)
disk_cache (disk and memory cache)
speling (tries to find misspel docs)
status (to get apache status)
substitute (find replace in output)
suexec (allows to run cgi under some user and group)
userdir (point user real directory)
usertrack (click stream recording)
vhost_alias (Dynamic vhosts)
cgi (cgi support)
version (allows to use IfVersion in htaccess)
ext_filter (extends filters)
authn_anon (authenticate anonymous)
authn_dbm
authz_ldap
authz_dbm
info
authz_owner
include
logio
authn_alias
authn_default
ldap
authz_groupfile
authz_default
suexec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment