Code: Select all
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:# Global configuration that will be applicable for all virtual hosts, unless
/etc/apache2/default-server.conf:# deleted here, or overriden elswhere.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:DocumentRoot "/srv/www/htdocs"
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:# Configure the DocumentRoot
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:<Directory "/srv/www/htdocs">
/etc/apache2/default-server.conf: # Possible values for the Options directive are "None", "All",
/etc/apache2/default-server.conf: # or any combination of:
/etc/apache2/default-server.conf: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
/etc/apache2/default-server.conf: #
/etc/apache2/default-server.conf: # Note that "MultiViews" must be named *explicitly* --- "Options All"
/etc/apache2/default-server.conf: # doesn't give it to you.
/etc/apache2/default-server.conf: #
/etc/apache2/default-server.conf: # The Options directive is both complicated and important. Please see
/etc/apache2/default-server.conf: # http://httpd.apache.org/docs/2.4/mod/core.html#options
/etc/apache2/default-server.conf: # for more information.
/etc/apache2/default-server.conf: # NOTE: For directories where RewriteRule is used, FollowSymLinks
/etc/apache2/default-server.conf: # or SymLinksIfOwnerMatch needs to be set in Options directive.
/etc/apache2/default-server.conf: Options None
/etc/apache2/default-server.conf: # AllowOverride controls what directives may be placed in .htaccess files.
/etc/apache2/default-server.conf: # It can be "All", "None", or any combination of the keywords:
/etc/apache2/default-server.conf: # Options FileInfo AuthConfig Limit
/etc/apache2/default-server.conf: AllowOverride None
/etc/apache2/default-server.conf: # Controls who can get stuff from this server.
/etc/apache2/default-server.conf: <IfModule !mod_access_compat.c>
/etc/apache2/default-server.conf: Require all granted
/etc/apache2/default-server.conf: </IfModule>
/etc/apache2/default-server.conf: <IfModule mod_access_compat.c>
/etc/apache2/default-server.conf: Order allow,deny
/etc/apache2/default-server.conf: Allow from all
/etc/apache2/default-server.conf: </IfModule>
/etc/apache2/default-server.conf:</Directory>
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:# Aliases: aliases can be added as needed (with no limit). The format is
/etc/apache2/default-server.conf:# Alias fakename realname
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:# Note that if you include a trailing / on fakename then the server will
/etc/apache2/default-server.conf:# require it to be present in the URL. So "/icons" isn't aliased in this
/etc/apache2/default-server.conf:# example, only "/icons/". If the fakename is slash-terminated, then the
/etc/apache2/default-server.conf:# realname must also be slash terminated, and if the fakename omits the
/etc/apache2/default-server.conf:# trailing slash, the realname must also omit it.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:# We include the /icons/ alias for FancyIndexed directory listings. If you
/etc/apache2/default-server.conf:# do not use FancyIndexing, you may comment this out.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:Alias /icons/ "/usr/share/apache2/icons/"
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:<Directory "/usr/share/apache2/icons">
/etc/apache2/default-server.conf: Options Indexes MultiViews
/etc/apache2/default-server.conf: AllowOverride None
/etc/apache2/default-server.conf: <IfModule !mod_access_compat.c>
/etc/apache2/default-server.conf: Require all granted
/etc/apache2/default-server.conf: </IfModule>
/etc/apache2/default-server.conf: <IfModule mod_access_compat.c>
/etc/apache2/default-server.conf: Order allow,deny
/etc/apache2/default-server.conf: Allow from all
/etc/apache2/default-server.conf: </IfModule>
/etc/apache2/default-server.conf:</Directory>
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:# ScriptAlias: This controls which directories contain server scripts.
/etc/apache2/default-server.conf:# ScriptAliases are essentially the same as Aliases, except that
/etc/apache2/default-server.conf:# documents in the realname directory are treated as applications and
/etc/apache2/default-server.conf:# run by the server when requested rather than as documents sent to the client.
/etc/apache2/default-server.conf:# The same rules about trailing "/" apply to ScriptAlias directives as to
/etc/apache2/default-server.conf:# Alias.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
/etc/apache2/default-server.conf:# CGI directory exists, if you have that configured.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:<Directory "/srv/www/cgi-bin">
/etc/apache2/default-server.conf: AllowOverride None
/etc/apache2/default-server.conf: Options +ExecCGI -Includes
/etc/apache2/default-server.conf: <IfModule !mod_access_compat.c>
/etc/apache2/default-server.conf: Require all granted
/etc/apache2/default-server.conf: </IfModule>
/etc/apache2/default-server.conf: <IfModule mod_access_compat.c>
/etc/apache2/default-server.conf: Order allow,deny
/etc/apache2/default-server.conf: Allow from all
/etc/apache2/default-server.conf: </IfModule>
/etc/apache2/default-server.conf:</Directory>
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:# UserDir: The name of the directory that is appended onto a user's home
/etc/apache2/default-server.conf:# directory if a ~user request is received.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:# To disable it, simply remove userdir from the list of modules in APACHE_MODULES
/etc/apache2/default-server.conf:# in /etc/sysconfig/apache2.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:<IfModule mod_userdir.c>
/etc/apache2/default-server.conf: # Note that the name of the user directory ("public_html") cannot simply be
/etc/apache2/default-server.conf: # changed here, since it is a compile time setting. The apache package
/etc/apache2/default-server.conf: # would have to be rebuilt. You could work around by deleting
/etc/apache2/default-server.conf: # /usr/sbin/suexec, but then all scripts from the directories would be
/etc/apache2/default-server.conf: # executed with the UID of the webserver.
/etc/apache2/default-server.conf: UserDir public_html
/etc/apache2/default-server.conf: # The actual configuration of the directory is in
/etc/apache2/default-server.conf: # /etc/apache2/mod_userdir.conf.
/etc/apache2/default-server.conf: Include /etc/apache2/mod_userdir.conf
/etc/apache2/default-server.conf: # You can, however, change the ~ if you find it awkward, by mapping e.g.
/etc/apache2/default-server.conf: # http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/
/etc/apache2/default-server.conf: #AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2
/etc/apache2/default-server.conf:</IfModule>
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:# Include all *.conf files from /etc/apache2/conf.d/.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:# This is mostly meant as a place for other RPM packages to drop in their
/etc/apache2/default-server.conf:# configuration snippet.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:# You can comment this out here if you want those bits include only in a
/etc/apache2/default-server.conf:# certain virtual host, but not here.
/etc/apache2/default-server.conf:#
/etc/apache2/default-server.conf:IncludeOptional /etc/apache2/conf.d/*.conf
/etc/apache2/default-server.conf:
/etc/apache2/default-server.conf:# The manual... if it is installed ('?' means it won't complain)
/etc/apache2/default-server.conf:IncludeOptional /etc/apache2/conf.d/apache2-manual?conf
/etc/apache2/default-server.conf:
/etc/apache2/errors.conf:
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:# Customizable error responses come in three flavors:
/etc/apache2/errors.conf:# 1) plain text 2) local redirects 3) external redirects
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:# Some examples:
/etc/apache2/errors.conf:#ErrorDocument 500 "The server made a boo boo."
/etc/apache2/errors.conf:#ErrorDocument 404 /missing.html
/etc/apache2/errors.conf:#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
/etc/apache2/errors.conf:#ErrorDocument 402 http://www.example.com/subscription_info.html
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:# Putting this all together, we can internationalize error responses.
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:# We use Alias to redirect any /error/HTTP_<error>.html.var response to
/etc/apache2/errors.conf:# our collection of by-error message multi-language collections. We use
/etc/apache2/errors.conf:# includes to substitute the appropriate text.
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:# You can modify the messages' appearance without changing any of the
/etc/apache2/errors.conf:# default HTTP_<error>.html.var files by adding the line:
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:# Alias /error/include/ "/your/include/path/"
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:# which allows you to create your own set of files by starting with the
/etc/apache2/errors.conf:# /usr/share/apache2/error/include/ files and copying them to /your/include/path/,
/etc/apache2/errors.conf:# even on a per-VirtualHost basis. The default include files will display
/etc/apache2/errors.conf:# your Apache version number and your ServerAdmin email address regardless
/etc/apache2/errors.conf:# of the setting of ServerSignature.
/etc/apache2/errors.conf:#
/etc/apache2/errors.conf:# The internationalized error documents require mod_alias, mod_include
/etc/apache2/errors.conf:# and mod_negotiation. To activate them, uncomment the following 30 lines.
/etc/apache2/errors.conf:
/etc/apache2/errors.conf:Alias /error/ "/usr/share/apache2/error/"
/etc/apache2/errors.conf:
/etc/apache2/errors.conf:<IfModule mod_negotiation.c>
/etc/apache2/errors.conf:<IfModule mod_include.c>
/etc/apache2/errors.conf: <Directory "/usr/share/apache2/error">
/etc/apache2/errors.conf: AllowOverride None
/etc/apache2/errors.conf: Options IncludesNoExec
/etc/apache2/errors.conf: AddOutputFilter Includes html
/etc/apache2/errors.conf: AddHandler type-map var
/etc/apache2/errors.conf: <IfModule !mod_access_compat.c>
/etc/apache2/errors.conf: Require all granted
/etc/apache2/errors.conf: </IfModule>
/etc/apache2/errors.conf: <IfModule mod_access_compat.c>
/etc/apache2/errors.conf: Order allow,deny
/etc/apache2/errors.conf: Allow from all
/etc/apache2/errors.conf: </IfModule>
/etc/apache2/errors.conf: LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
/etc/apache2/errors.conf: ForceLanguagePriority Prefer Fallback
/etc/apache2/errors.conf: </Directory>
/etc/apache2/errors.conf:
/etc/apache2/errors.conf: ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
/etc/apache2/errors.conf: ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
/etc/apache2/errors.conf: ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
/etc/apache2/errors.conf: ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
/etc/apache2/errors.conf: ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
/etc/apache2/errors.conf: ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
/etc/apache2/errors.conf: ErrorDocument 410 /error/HTTP_GONE.html.var
/etc/apache2/errors.conf: ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
/etc/apache2/errors.conf: ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
/etc/apache2/errors.conf: ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
/etc/apache2/errors.conf: ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
/etc/apache2/errors.conf: ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
/etc/apache2/errors.conf: ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
/etc/apache2/errors.conf: ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
/etc/apache2/errors.conf: ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
/etc/apache2/errors.conf: ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
/etc/apache2/errors.conf: ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
/etc/apache2/errors.conf:</IfModule>
/etc/apache2/errors.conf:</IfModule>
/etc/apache2/errors.conf:
/etc/apache2/global.conf:ServerSignature off
/etc/apache2/global.conf:UseCanonicalName off
/etc/apache2/global.conf:ServerTokens ProductOnly
/etc/apache2/global.conf:LogLevel warn
/etc/apache2/global.conf:CustomLog /var/log/apache2/access_log combined
/etc/apache2/global.conf:
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# /etc/apache2/httpd.conf
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# This is the main Apache server configuration file. It contains the
/etc/apache2/httpd.conf:# configuration directives that give the server its instructions.
/etc/apache2/httpd.conf:# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information about
/etc/apache2/httpd.conf:# the directives.
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# Based upon the default apache configuration file that ships with apache,
/etc/apache2/httpd.conf:# which is based upon the NCSA server configuration files originally by Rob
/etc/apache2/httpd.conf:# McCool. This file was knocked together by Peter Poeml <poeml+apache@suse.de>.
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# If possible, avoid changes to this file. It does mainly contain Include
/etc/apache2/httpd.conf:# statements and global settings that can/should be overridden in the
/etc/apache2/httpd.conf:# configuration of your virtual hosts.
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# Quickstart guide:
/etc/apache2/httpd.conf:# http://en.opensuse.org/SDB:Apache_installation
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# Overview of include files, chronologically:
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# httpd.conf
/etc/apache2/httpd.conf:# |
/etc/apache2/httpd.conf:# |-- uid.conf . . . . . . . . . . . . . . UserID/GroupID to run under
/etc/apache2/httpd.conf:# |-- server-tuning.conf . . . . . . . . . sizing of the server (how many processes to start, ...)
/etc/apache2/httpd.conf:# |-- loadmodule.conf . . . . . . . . . . . [*] load these modules
/etc/apache2/httpd.conf:# |-- listen.conf . . . . . . . . . . . . . IP adresses / ports to listen on
/etc/apache2/httpd.conf:# |-- mod_log_config.conf . . . . . . . . . define logging formats
/etc/apache2/httpd.conf:# |-- global.conf . . . . . . . . . . . . . [*] server-wide general settings
/etc/apache2/httpd.conf:# |-- mod_status.conf . . . . . . . . . . . restrict access to mod_status (server monitoring)
/etc/apache2/httpd.conf:# |-- mod_info.conf . . . . . . . . . . . . restrict access to mod_info
/etc/apache2/httpd.conf:# |-- mod_reqtimeout.conf . . . . . . . . . set timeout and minimum data rate for receiving requests
/etc/apache2/httpd.conf:# |-- mod_cgid-timeout.conf . . . . . . . . set CGIDScriptTimeout if mod_cgid is loaded/active
/etc/apache2/httpd.conf:# |-- mod_usertrack.conf . . . . . . . . . defaults for cookie-based user tracking
/etc/apache2/httpd.conf:# |-- mod_autoindex-defaults.conf . . . . . defaults for displaying of server-generated directory listings
/etc/apache2/httpd.conf:# |-- mod_mime-defaults.conf . . . . . . . defaults for mod_mime configuration
/etc/apache2/httpd.conf:# |-- errors.conf . . . . . . . . . . . . . customize error responses
/etc/apache2/httpd.conf:# |-- ssl-global.conf . . . . . . . . . . . SSL conf that applies to default server _and all_ virtual hosts
/etc/apache2/httpd.conf:# |
/etc/apache2/httpd.conf:# |-- default-server.conf . . . . . . . . . set up the default server that replies to non-virtual-host requests
/etc/apache2/httpd.conf:# | |--mod_userdir.conf . . . . . . . . enable UserDir (if mod_userdir is loaded)
/etc/apache2/httpd.conf:# | `--conf.d/apache2-manual?conf . . . add the docs ('?' = if installed)
/etc/apache2/httpd.conf:# |
/etc/apache2/httpd.conf:# `-- vhosts.d/ . . . . . . . . . . . . . . for each virtual host, place one file here
/etc/apache2/httpd.conf:# `-- *.conf . . . . . . . . . . . . . (*.conf is automatically included)
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# Files marked [*] are NOT read when server is started via systemd service. When server
/etc/apache2/httpd.conf:# is started via service, defaults from /etc/sysconfig/apache2 are taken into account.
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# Filesystem layout:
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# /etc/apache2/
/etc/apache2/httpd.conf:# |-- charset.conv . . . . . . . . . . . . for mod_auth_ldap
/etc/apache2/httpd.conf:# |-- conf.d/
/etc/apache2/httpd.conf:# | |-- apache2-manual.conf . . . . . . . conf that comes with apache2-doc
/etc/apache2/httpd.conf:# | |-- mod_php4.conf . . . . . . . . . . (example) conf that comes with apache2-mod_php4
/etc/apache2/httpd.conf:# | `-- ... . . . . . . . . . . . . . . . other configuration added by packages
/etc/apache2/httpd.conf:# |-- default-server.conf
/etc/apache2/httpd.conf:# |-- errors.conf
/etc/apache2/httpd.conf:# |-- httpd.conf . . . . . . . . . . . . . top level configuration file
/etc/apache2/httpd.conf:# |-- listen.conf
/etc/apache2/httpd.conf:# |-- magic
/etc/apache2/httpd.conf:# |-- mime.types -> ../mime.types
/etc/apache2/httpd.conf:# |-- mod_autoindex-defaults.conf
/etc/apache2/httpd.conf:# |-- mod_info.conf
/etc/apache2/httpd.conf:# |-- mod_log_config.conf
/etc/apache2/httpd.conf:# |-- mod_mime-defaults.conf
/etc/apache2/httpd.conf:# |-- mod_perl-startup.pl
/etc/apache2/httpd.conf:# |-- mod_status.conf
/etc/apache2/httpd.conf:# |-- mod_userdir.conf
/etc/apache2/httpd.conf:# |-- mod_usertrack.conf
/etc/apache2/httpd.conf:# |-- server-tuning.conf
/etc/apache2/httpd.conf:# |-- ssl-global.conf
/etc/apache2/httpd.conf:# |-- ssl.crl/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificate Revocation Lists (CRL)
/etc/apache2/httpd.conf:# |-- ssl.crt/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificates
/etc/apache2/httpd.conf:# |-- ssl.csr/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificate Signing Requests
/etc/apache2/httpd.conf:# |-- ssl.key/ . . . . . . . . . . . . . . PEM-encoded RSA Private Keys
/etc/apache2/httpd.conf:# |-- ssl.prm/ . . . . . . . . . . . . . . public DSA Parameter Files
/etc/apache2/httpd.conf:# |-- global.conf
/etc/apache2/httpd.conf:# |-- loadmodule.conf
/etc/apache2/httpd.conf:# |-- uid.conf
/etc/apache2/httpd.conf:# `-- vhosts.d/ . . . . . . . . . . . . . . put your virtual host configuration (*.conf) here
/etc/apache2/httpd.conf:# |-- vhost-ssl.template
/etc/apache2/httpd.conf:# `-- vhost.template
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:### Global Environment ######################################################
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# The directives in this section affect the overall operation of Apache,
/etc/apache2/httpd.conf:# such as the number of concurrent requests.
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# run under this user/group id
/etc/apache2/httpd.conf:Include /etc/apache2/uid.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# - how many server processes to start (server pool regulation)
/etc/apache2/httpd.conf:# - usage of KeepAlive
/etc/apache2/httpd.conf:Include /etc/apache2/server-tuning.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# ErrorLog: The location of the error log file.
/etc/apache2/httpd.conf:# If you do not specify an ErrorLog directive within a <VirtualHost>
/etc/apache2/httpd.conf:# container, error messages relating to that virtual host will be
/etc/apache2/httpd.conf:# logged here. If you *do* define an error logfile for a <VirtualHost>
/etc/apache2/httpd.conf:# container, that host's errors will be logged there and not here.
/etc/apache2/httpd.conf:ErrorLog /var/log/apache2/error_log
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# generated from default value of APACHE_MODULES in /etc/sysconfig/apache2
/etc/apache2/httpd.conf:<IfDefine !SYSCONFIG>
/etc/apache2/httpd.conf: Include /etc/apache2/loadmodule.conf
/etc/apache2/httpd.conf:</IfDefine>
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# IP addresses / ports to listen on
/etc/apache2/httpd.conf:Include /etc/apache2/listen.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# predefined logging formats
/etc/apache2/httpd.conf:Include /etc/apache2/mod_log_config.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# generated from default values of global settings in /etc/sysconfig/apache2
/etc/apache2/httpd.conf:<IfDefine !SYSCONFIG>
/etc/apache2/httpd.conf: Include /etc/apache2/global.conf
/etc/apache2/httpd.conf:</IfDefine>
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# optional mod_status, mod_info
/etc/apache2/httpd.conf:Include /etc/apache2/mod_status.conf
/etc/apache2/httpd.conf:Include /etc/apache2/mod_info.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# mod_reqtimeout protects the server from the so-called "slowloris"
/etc/apache2/httpd.conf:# attack: The server is not swamped with requests in fast succession,
/etc/apache2/httpd.conf:# but with slowly transmitted request headers and body, thereby filling up
/etc/apache2/httpd.conf:# the request slots until the server runs out of them.
/etc/apache2/httpd.conf:# mod_reqtimeout is lightweight and should deliver good results
/etc/apache2/httpd.conf:# with the configured default values. You shouldn't notice it at all.
/etc/apache2/httpd.conf:Include /etc/apache2/mod_reqtimeout.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# Fix for CVE-2014-0231 introduces new configuration parameter
/etc/apache2/httpd.conf:# CGIDScriptTimeout. This directive and its effect prevent request
/etc/apache2/httpd.conf:# workers to be eaten until starvation if cgi programs do not send
/etc/apache2/httpd.conf:# output back to the server within the timout set by CGIDScriptTimeout.
/etc/apache2/httpd.conf:Include /etc/apache2/mod_cgid-timeout.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# optional cookie-based user tracking
/etc/apache2/httpd.conf:# read the documentation before using it!!
/etc/apache2/httpd.conf:Include /etc/apache2/mod_usertrack.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# configuration of server-generated directory listings
/etc/apache2/httpd.conf:Include /etc/apache2/mod_autoindex-defaults.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# associate MIME types with filename extensions
/etc/apache2/httpd.conf:TypesConfig /etc/apache2/mime.types
/etc/apache2/httpd.conf:Include /etc/apache2/mod_mime-defaults.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# set up (customizable) error responses
/etc/apache2/httpd.conf:Include /etc/apache2/errors.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# global (server-wide) SSL configuration, that is not specific to
/etc/apache2/httpd.conf:# any virtual host
/etc/apache2/httpd.conf:Include /etc/apache2/ssl-global.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# forbid access to the entire filesystem by default
/etc/apache2/httpd.conf:<Directory />
/etc/apache2/httpd.conf: Options None
/etc/apache2/httpd.conf: AllowOverride None
/etc/apache2/httpd.conf: <IfModule !mod_access_compat.c>
/etc/apache2/httpd.conf: Require all denied
/etc/apache2/httpd.conf: </IfModule>
/etc/apache2/httpd.conf: <IfModule mod_access_compat.c>
/etc/apache2/httpd.conf: Order deny,allow
/etc/apache2/httpd.conf: Deny from all
/etc/apache2/httpd.conf: </IfModule>
/etc/apache2/httpd.conf:</Directory>
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# use .htaccess files for overriding,
/etc/apache2/httpd.conf:AccessFileName .htaccess
/etc/apache2/httpd.conf:# and never show them
/etc/apache2/httpd.conf:<Files ~ "^\.ht">
/etc/apache2/httpd.conf: <IfModule !mod_access_compat.c>
/etc/apache2/httpd.conf: Require all denied
/etc/apache2/httpd.conf: </IfModule>
/etc/apache2/httpd.conf: <IfModule mod_access_compat.c>
/etc/apache2/httpd.conf: Order allow,deny
/etc/apache2/httpd.conf: Deny from all
/etc/apache2/httpd.conf: </IfModule>
/etc/apache2/httpd.conf:</Files>
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# List of resources to look for when the client requests a directory
/etc/apache2/httpd.conf:DirectoryIndex index.html index.html.var
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:### 'Main' server configuration #############################################
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# The directives in this section set up the values used by the 'main'
/etc/apache2/httpd.conf:# server, which responds to any requests that aren't handled by a
/etc/apache2/httpd.conf:# <VirtualHost> definition. These values also provide defaults for
/etc/apache2/httpd.conf:# any <VirtualHost> containers you may define later in the file.
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# All of these directives may appear inside <VirtualHost> containers,
/etc/apache2/httpd.conf:# in which case these default settings will be overridden for the
/etc/apache2/httpd.conf:# virtual host being defined.
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:Include /etc/apache2/default-server.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:### Virtual server configuration ############################################
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# VirtualHost: If you want to maintain multiple domains/hostnames on your
/etc/apache2/httpd.conf:# machine you can setup VirtualHost containers for them. Most configurations
/etc/apache2/httpd.conf:# use only name-based virtual hosts so the server doesn't need to worry about
/etc/apache2/httpd.conf:# IP addresses. This is indicated by the asterisks in the directives below.
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# Please see the documentation at
/etc/apache2/httpd.conf:# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
/etc/apache2/httpd.conf:# for further details before you try to setup virtual hosts.
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:# You may use the command line option '-S' to verify your virtual host
/etc/apache2/httpd.conf:# configuration.
/etc/apache2/httpd.conf:#
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:#IncludeOptional /etc/apache2/vhosts.d/*.conf
/etc/apache2/httpd.conf:Include /etc/apache2/conf.d/*.conf
/etc/apache2/httpd.conf:
/etc/apache2/httpd.conf:# Note: instead of adding your own configuration here, consider
/etc/apache2/httpd.conf:# adding it in your own file (/etc/apache2/httpd.conf.local)
/etc/apache2/httpd.conf:# putting its name into APACHE_CONF_INCLUDE_FILES in
/etc/apache2/httpd.conf:# /etc/sysconfig/apache2 -- this will make system updates
/etc/apache2/httpd.conf:# easier :)
/etc/apache2/listen.conf:# Listen: Allows you to bind Apache to specific IP addresses and/or
/etc/apache2/listen.conf:# ports. See also the <VirtualHost> directive.
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:# http://httpd.apache.org/docs/2.4/mod/mpm_common.html#listen
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:# Change this to Listen on specific IP addresses as shown below to
/etc/apache2/listen.conf:# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:# When we also provide SSL we have to listen to the
/etc/apache2/listen.conf:# standard HTTP port (see above) and to the HTTPS port
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:# Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
/etc/apache2/listen.conf:# Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:#Listen 12.34.56.78:80
/etc/apache2/listen.conf:#Listen 80
/etc/apache2/listen.conf:#Listen 443
/etc/apache2/listen.conf:
/etc/apache2/listen.conf:Listen 80
/etc/apache2/listen.conf:
/etc/apache2/listen.conf:
/etc/apache2/listen.conf:<IfDefine SSL>
/etc/apache2/listen.conf: <IfDefine !NOSSL>
/etc/apache2/listen.conf: <IfModule mod_ssl.c>
/etc/apache2/listen.conf:
/etc/apache2/listen.conf: Listen 443
/etc/apache2/listen.conf:
/etc/apache2/listen.conf: </IfModule>
/etc/apache2/listen.conf: </IfDefine>
/etc/apache2/listen.conf:</IfDefine>
/etc/apache2/listen.conf:
/etc/apache2/listen.conf:
/etc/apache2/listen.conf:# Use name-based virtual hosting
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:# - on a specified address / port:
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:#NameVirtualHost 12.34.56.78:80
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:# - name-based virtual hosting:
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:#NameVirtualHost *:80
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:# - on all addresses and ports. This is your best bet when you are on
/etc/apache2/listen.conf:# dynamically assigned IP addresses:
/etc/apache2/listen.conf:#
/etc/apache2/listen.conf:#NameVirtualHost *
/etc/apache2/listen.conf:
/etc/apache2/loadmodule.conf:LoadModule actions_module /usr/lib64/apache2-prefork/mod_actions.so
/etc/apache2/loadmodule.conf:LoadModule alias_module /usr/lib64/apache2-prefork/mod_alias.so
/etc/apache2/loadmodule.conf:LoadModule auth_basic_module /usr/lib64/apache2-prefork/mod_auth_basic.so
/etc/apache2/loadmodule.conf:LoadModule authn_file_module /usr/lib64/apache2-prefork/mod_authn_file.so
/etc/apache2/loadmodule.conf:LoadModule authz_host_module /usr/lib64/apache2-prefork/mod_authz_host.so
/etc/apache2/loadmodule.conf:LoadModule authz_groupfile_module /usr/lib64/apache2-prefork/mod_authz_groupfile.so
/etc/apache2/loadmodule.conf:LoadModule authz_user_module /usr/lib64/apache2-prefork/mod_authz_user.so
/etc/apache2/loadmodule.conf:LoadModule autoindex_module /usr/lib64/apache2-prefork/mod_autoindex.so
/etc/apache2/loadmodule.conf:LoadModule cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
/etc/apache2/loadmodule.conf:LoadModule dir_module /usr/lib64/apache2-prefork/mod_dir.so
/etc/apache2/loadmodule.conf:LoadModule env_module /usr/lib64/apache2-prefork/mod_env.so
/etc/apache2/loadmodule.conf:LoadModule expires_module /usr/lib64/apache2-prefork/mod_expires.so
/etc/apache2/loadmodule.conf:LoadModule include_module /usr/lib64/apache2-prefork/mod_include.so
/etc/apache2/loadmodule.conf:LoadModule log_config_module /usr/lib64/apache2-prefork/mod_log_config.so
/etc/apache2/loadmodule.conf:LoadModule mime_module /usr/lib64/apache2-prefork/mod_mime.so
/etc/apache2/loadmodule.conf:LoadModule negotiation_module /usr/lib64/apache2-prefork/mod_negotiation.so
/etc/apache2/loadmodule.conf:LoadModule setenvif_module /usr/lib64/apache2-prefork/mod_setenvif.so
/etc/apache2/loadmodule.conf:LoadModule ssl_module /usr/lib64/apache2-prefork/mod_ssl.so
/etc/apache2/loadmodule.conf:LoadModule socache_shmcb_module /usr/lib64/apache2-prefork/mod_socache_shmcb.so
/etc/apache2/loadmodule.conf:LoadModule userdir_module /usr/lib64/apache2-prefork/mod_userdir.so
/etc/apache2/loadmodule.conf:LoadModule reqtimeout_module /usr/lib64/apache2-prefork/mod_reqtimeout.so
/etc/apache2/loadmodule.conf:LoadModule authn_core_module /usr/lib64/apache2-prefork/mod_authn_core.so
/etc/apache2/loadmodule.conf:LoadModule authz_core_module /usr/lib64/apache2-prefork/mod_authz_core.so
/etc/apache2/loadmodule.conf:
/etc/apache2/mod_autoindex-defaults.conf:#
/etc/apache2/mod_autoindex-defaults.conf:# Directives controlling the display of server-generated directory listings.
/etc/apache2/mod_autoindex-defaults.conf:#
/etc/apache2/mod_autoindex-defaults.conf:# see http://httpd.apache.org/docs/2.4/mod/mod_autoindex.html
/etc/apache2/mod_autoindex-defaults.conf:#
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf:<IfModule mod_autoindex.c>
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: IndexOptions FancyIndexing VersionSort NameWidth=*
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: # Add Last-Modified and ETag values for the listed directory in the HTTP header,
/etc/apache2/mod_autoindex-defaults.conf: # based on files' modification dates
/etc/apache2/mod_autoindex-defaults.conf: #IndexOptions +TrackModified
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: AddIconByType (TXT,/icons/text.gif) text/*
/etc/apache2/mod_autoindex-defaults.conf: AddIconByType (IMG,/icons/image2.gif) image/*
/etc/apache2/mod_autoindex-defaults.conf: AddIconByType (SND,/icons/sound2.gif) audio/*
/etc/apache2/mod_autoindex-defaults.conf: AddIconByType (VID,/icons/movie.gif) video/*
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/binary.gif .bin .exe
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/binhex.gif .hqx
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/tar.gif .tar
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/a.gif .ps .ai .eps
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/layout.gif .html .shtml .htm .pdf
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/text.gif .txt
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/c.gif .c
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/p.gif .pl .py
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/f.gif .for
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/dvi.gif .dvi
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/uuencoded.gif .uu
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/tex.gif .tex
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/bomb.gif core
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/back.gif ..
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/hand.right.gif README
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/folder.gif ^^DIRECTORY^^
/etc/apache2/mod_autoindex-defaults.conf: AddIcon /icons/blank.gif ^^BLANKICON^^
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: DefaultIcon /icons/unknown.gif
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: ReadmeName README.html
/etc/apache2/mod_autoindex-defaults.conf: HeaderName HEADER.html
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf: IndexIgnore .??* *~ *# HEADER* RCS CVS *,v *,t
/etc/apache2/mod_autoindex-defaults.conf:
/etc/apache2/mod_autoindex-defaults.conf:</IfModule>
/etc/apache2/mod_cgid-timeout.conf:#
/etc/apache2/mod_cgid-timeout.conf:# The length of time in seconds to wait for more output
/etc/apache2/mod_cgid-timeout.conf:# from a CGI program.
/etc/apache2/mod_cgid-timeout.conf:#
/etc/apache2/mod_cgid-timeout.conf:# This will prevent a DoS if too many CGI's don't send their output quickly
/etc/apache2/mod_cgid-timeout.conf:# enough.
/etc/apache2/mod_cgid-timeout.conf:# The value for CGIDScriptTimeout defaults to the value of Timeout.
/etc/apache2/mod_cgid-timeout.conf:# CGIDScriptTimeout is used by mod_cgid only!
/etc/apache2/mod_cgid-timeout.conf:#
/etc/apache2/mod_cgid-timeout.conf:
/etc/apache2/mod_cgid-timeout.conf:<IfModule mod_cgid.c>
/etc/apache2/mod_cgid-timeout.conf: CGIDScriptTimeout 60
/etc/apache2/mod_cgid-timeout.conf:</IfModule>
/etc/apache2/mod_cgid-timeout.conf:
/etc/apache2/mod_cgid-timeout.conf:
/etc/apache2/mod_info.conf:#
/etc/apache2/mod_info.conf:# Allow remote server configuration reports, with the URL of
/etc/apache2/mod_info.conf:# http://servername/server-info (requires that mod_info.c be loaded).
/etc/apache2/mod_info.conf:#
/etc/apache2/mod_info.conf:# see http://httpd.apache.org/docs/2.4/mod/mod_info.html
/etc/apache2/mod_info.conf:#
/etc/apache2/mod_info.conf:<IfModule mod_info.c>
/etc/apache2/mod_info.conf: <Location /server-info>
/etc/apache2/mod_info.conf: SetHandler server-info
/etc/apache2/mod_info.conf: <IfModule !mod_access_compat.c>
/etc/apache2/mod_info.conf: Require local
/etc/apache2/mod_info.conf: </IfModule>
/etc/apache2/mod_info.conf: <IfModule mod_access_compat.c>
/etc/apache2/mod_info.conf: Order deny,allow
/etc/apache2/mod_info.conf: Deny from all
/etc/apache2/mod_info.conf: Allow from localhost
/etc/apache2/mod_info.conf: </IfModule>
/etc/apache2/mod_info.conf: </Location>
/etc/apache2/mod_info.conf:</IfModule>
/etc/apache2/mod_info.conf:
/etc/apache2/mod_log_config.conf:#
/etc/apache2/mod_log_config.conf:# The following directives define some format nicknames for use with
/etc/apache2/mod_log_config.conf:# a CustomLog directive.
/etc/apache2/mod_log_config.conf:#
/etc/apache2/mod_log_config.conf:# http://httpd.apache.org/docs/2.4/mod/mod_log_config.html
/etc/apache2/mod_log_config.conf:#
/etc/apache2/mod_log_config.conf:
/etc/apache2/mod_log_config.conf:#
/etc/apache2/mod_log_config.conf:# Format string: Nickname:
/etc/apache2/mod_log_config.conf:#
/etc/apache2/mod_log_config.conf:LogFormat "%h %l %u %t \"%r\" %>s %b" common
/etc/apache2/mod_log_config.conf:LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
/etc/apache2/mod_log_config.conf:LogFormat "%{Referer}i -> %U" referer
/etc/apache2/mod_log_config.conf:LogFormat "%{User-agent}i" agent
/etc/apache2/mod_log_config.conf:LogFormat "%h %l %u %t \"%r\" %>s %b \
/etc/apache2/mod_log_config.conf:\"%{Referer}i\" \"%{User-Agent}i\"" combined
/etc/apache2/mod_log_config.conf:LogFormat "%v %h %l %u %t \"%r\" %>s %b \
/etc/apache2/mod_log_config.conf:\"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
/etc/apache2/mod_log_config.conf:
/etc/apache2/mod_log_config.conf:# To use %I and %O, you need to enable mod_logio
/etc/apache2/mod_log_config.conf:<IfModule mod_logio.c>
/etc/apache2/mod_log_config.conf:LogFormat "%h %l %u %t \"%r\" %>s %b \
/etc/apache2/mod_log_config.conf:\"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
/etc/apache2/mod_log_config.conf:</IfModule>
/etc/apache2/mod_log_config.conf:
/etc/apache2/mod_log_config.conf:# Use one of these when you want a compact non-error SSL logfile on a virtual
/etc/apache2/mod_log_config.conf:# host basis:
/etc/apache2/mod_log_config.conf:<IfModule mod_ssl.c>
/etc/apache2/mod_log_config.conf:Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
/etc/apache2/mod_log_config.conf:\"%r\" %b" ssl_common
/etc/apache2/mod_log_config.conf:Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
/etc/apache2/mod_log_config.conf:\"%r\" %b \"%{Referer}i\" \"%{User-Agent}i\"" ssl_combined
/etc/apache2/mod_log_config.conf:</IfModule>
/etc/apache2/mod_log_config.conf:
/etc/apache2/mod_log_config.conf:
/etc/apache2/mod_mime-defaults.conf:#
/etc/apache2/mod_mime-defaults.conf:# mod_mime configuration:
/etc/apache2/mod_mime-defaults.conf:# associate various bits of "meta information" with files by their filename extensions
/etc/apache2/mod_mime-defaults.conf:#
/etc/apache2/mod_mime-defaults.conf:# see http://httpd.apache.org/docs/2.4/mod/mod_mime.html
/etc/apache2/mod_mime-defaults.conf:#