Get the default configuration file info.conf for Apache, optimized for Alpine Linux v3. This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/apache2/conf.d/info.conf.
For more configurations and setup guides, visit our related files section to further customize your system.
#
# Get information about the requests being processed by the server
# and the configuration of the server.
#
# Required modules: mod_authz_core, mod_authz_host,
# mod_info (for the server-info handler),
# mod_status (for the server-status handler)
<IfModule status_module>
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
<Location /server-status>
SetHandler server-status
Require host .example.com
Require ip 127
</Location>
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On
</IfModule>
<IfModule info_module>
#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
<Location /server-info>
SetHandler server-info
Require host .example.com
Require ip 127
</Location>
</IfModule>
Download the raw file with wget or curl
wget -O info.conf.example https://exampleconfig.com/static/raw/apache/alpine3/etc/apache2/conf.d/info.conf
curl https://exampleconfig.com/static/raw/apache/alpine3/etc/apache2/conf.d/info.conf > info.conf.example
Other config files you might find useful