When should I use this info.conf?
Restore it. Compare it. Start clean.
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
You are a DevOps agent. Fetch the default Apache HTTP Server config for Alpine Linux v3.21 from https://exampleconfig.com/api/v1/config/original/6fbbe7cb94f43d61ef4c57eee7b7ca9f?hint=info.conf. Compare with my current /etc/apache2/conf.d/info.conf and summarize differences and safe changes.
Copy this prompt into Claude, ChatGPT, or other AI assistants.
#
# 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>
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?
Restore it. Compare it. Start clean.
How do I restore Apache HTTP Server defaults?
Download, replace, restart.
Is info.conf safe for production?
Yes. This is exactly what shipped. Safe starting point.
How does this differ from other OS versions?
Defaults change. This one is specific to Alpine Linux v3.21.
Can I use this for Apache HTTP Server troubleshooting?
Absolutely. Diff this against yours to spot the problem.