![]() TraceEnable off ServerSignature On HostnameLookups Off EnableMMAP On EnableSendfile On FileEtag INode MTime SizeĬontentDigest Off ErrorLog /var/log/apache2/error_log LogLevel warn Options FollowSymLinks Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 UseCanonicalName Off AccessFileName. #other modules loaded that way : cache_module, dav_module, dav_fs_module, # dav_lock_module,disk_cache_module, file_cache_module, info_module, ldap_module, # mem_cache_module, userdir_module User apache ![]() #other modules loaded that way : alias_module, auth_basic_module, authn_alias_module, # authn_anon_module, authn_dbm_module, authn_default_module, authn_file_module, # authz_dbm_module, authz_default_module, authz_groupfile_module, authz_host_module, # authz_owner_module, authz_user_module, autoindex_module, cgi_module, cgid_module, # deflate_module, dir_module, env_module, expires_module, ext_filter_module, filter_module, # headers_module, include_module, log_config_module, logio_module, mime_module, # mime_magic_module, negotiation_module, rewrite_module, setenvif_module, # speling_module,ssl_module, status_module, unique_id_module, usertrack_module, host_alias_module #Modules loaded conditionally, assuming matching USE flag is not unset in # /etc/portage/nf or in /etc/portage/e (flag to be set in ) LoadModule authnz_ldap_module modules/mod_authnz_ldap.so ServerRoot "/usr/lib64/apache2" #Module loaded unconditionally, assuming the USE flag is no unset in # /etc/portage/nf or in /etc/portage/e LoadModule actions_modulemodules/mod_actions.so Start with the entry point /etc/apache2/nf. The 00_default_nf configuration file is an exception to this rule as it doesn't start with an IfDefine statement and therefore is always included in the resulting configuration.Īfter a fresh install of an Apache server, the configuration resulting from the assemblage of the different configuration files is as follows. Taking into account what has been said in the subsection above, and as module configuration files (files in /etc/apache2/modules.d) almost always start with the, the content of one file inside /ect/apache2/modules.d, will ONLY be assembled with the rest of the configuration, if the matching option is set using a -D module-name flag in the APACHE2_OPTS variable in the /etc/conf.d/apache2 file. ![]() For example, the statement Include /etc/apache2/modules.d/*.conf, in nf, aims at including all the files in /etc/apache2/modules.d/ which name ends with. The whole configuration is split in many files in the /etc/apache2/ directory, that are assembled together using the Include directive. In fact this file is only an entry point for configuration. The nf file is Apache server's conventional configuration file. This will be returned to later in the article. This line defines options that will be interpreted by the various configuration files using the statement to activate or deactivate some part of the whole configuration. Usually pthreadsĪPACHE2_OPTS = "-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE" Log suexec to syslog instead of to a separate fileĮnable use of systemd-specific libraries and features like socket activation or session trackingĪdd threads support for various packages. Install suexec with capabilities instead of SUID Link in apache2 modules statically rather then plugins !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occurĮnable behavior to support maintaining /bin, /lib*, /sbin and /usr/sbin separately from /usr/bin and /usr/lib*Īdd support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security) It is recommended to enable per package instead of globallyĪdd support for sys-libs/gdbm (GNU database libraries)Īdd LDAP support (Lightweight Directory Access Protocol) If you want to get meaningful backtraces see Īdd extra documentation (API, Javadoc, etc). Enable extra debug codepaths, like asserts and extra output.
0 Comments
Leave a Reply. |