When should I use this info.conf?
Use it to restore a missing default, confirm what shipped, or diff against your current Apache HTTP Server config.
#
# 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>
curl https://exampleconfig.com/api/v1/config/original/6fbbe7cb94f43d61ef4c57eee7b7ca9f?hint=info.conf
wget -O info.conf https://exampleconfig.com/api/v1/config/original/6fbbe7cb94f43d61ef4c57eee7b7ca9f?hint=info.conf
<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/6fbbe7cb94f43d61ef4c57eee7b7ca9f?hint=info.conf' /><config><app>Apache HTTP Server</app><os>Alpine Linux v3.21</os><location>/etc/apache2/conf.d/info.conf</location><lines>40</lines><md5>6fbbe7cb94f43d61ef4c57eee7b7ca9f</md5><sha256>15a9acc18910e569d49854e8a3aafca442f94df9a7ea14bbd365bf30d8660020</sha256></config></prompt>
Paste into Claude, ChatGPT, or any AI assistant.
sudo apk add apache2
sudo apt update && sudo apt install apache2
sudo yum install httpd
sudo apt update && sudo apt install apache2
When should I use this info.conf?
Use it to restore a missing default, confirm what shipped, or diff against your current Apache HTTP Server config.
How do I restore Apache HTTP Server defaults?
Download the file, back up the current one in /etc/apache2/conf.d/info.conf, replace it, then reload or restart Apache HTTP Server.
Is info.conf safe for production?
It is the vendor default for Alpine Linux v3.21. Treat it as a baseline and review security and performance settings before production use.
How does this differ from other OS versions?
Defaults vary by distro and version. This copy matches Alpine Linux v3.21.
Can I use this for Apache HTTP Server troubleshooting?
Yes. Diff it against yours to find drift, then restore only the sections you need.