100% Free & Open

Apache Http Server Configuration Files

Original, unaltered Apache HTTP Server config files from fresh installations

182 Apache Http Server Configuration Files

Original, unaltered configurations from fresh installations

/etc/logrotate.d/apache2
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat) Alpine Linux v3.21

Apache HTTP Server - /etc/logrotate.d/apache2

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Alpine Linux v3.21

/var/log/apache2/*.log {
	daily
	missingok
	rotate 14
	compress
	delaycompress
	notifempty
	create 640 root adm
	sharedscripts
	prerotate
		if [ -d /etc/logrotate.d/httpd-prerotate ]; then
			run-par…
21 lines β€’ MD5: a38d9e98... Click to view full file
/etc/systemd/apache2@.service
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/systemd/apache2@.service

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
ConditionPathIsDirectory=/etc/apache2-%i
Documentation=https://httpd.apache.org/docs/2.4/

[Service]
…
19 lines β€’ MD5: 2cc4631b... Click to view full file
/etc/systemd/apache2.service
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/systemd/apache2.service

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
Documentation=https://httpd.apache.org/docs/2.4/

[Service]
Type=forking
Environment=APACHE_STARTED_B…
19 lines β€’ MD5: fad8b9c1... Click to view full file
/etc/apache2/ports.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/ports.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module…
14 lines β€’ MD5: e0eadfd8... Click to view full file
/etc/apache2/magic
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat) Alpine Linux v3.21

Apache HTTP Server - /etc/apache2/magic

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Alpine Linux v3.21

# Magic data for mod_mime_magic (originally for file(1) command)
#
# The format is 4-5 columns:
#    Column #1: byte number to begin checking from, ">" indicates continuation
#    Column #2: type of …
936 lines β€’ MD5: a6d37083... Click to view full file
/etc/apache2/envvars
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/envvars

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# envvars - default environment variables for apache2ctl

# this won't be correct after changing uid
unset HOME

# for supporting multiple apache2 instances
if [ "${APACHE_CONFDIR##/etc/apache2-}" !=…
48 lines β€’ MD5: e4431a53... Click to view full file
/etc/apache2/apache2.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/apache2.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed informatio…
226 lines β€’ MD5: 354c9e6d... Click to view full file
/etc/apache2/sites-available/default-ssl.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/sites-available/default-ssl.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

<VirtualHost *:443>
	ServerAdmin webmaster@localhost

	DocumentRoot /var/www/html

	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
	# error, crit, alert, emerg.
	# It is also …
131 lines β€’ MD5: afeefefb... Click to view full file
/etc/apache2/sites-available/000-default.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/sites-available/000-default.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

<VirtualHost *:80>
	# The ServerName directive sets the request scheme, hostname and port that
	# the server uses to identify itself. This is used when creating
	# redirection URLs. In the context of…
30 lines β€’ MD5: 45ed6a20... Click to view full file
/etc/apache2/mods-available/xml2enc.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/xml2enc.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

LoadModule xml2enc_module /usr/lib/apache2/modules/mod_xml2enc.so
2 lines β€’ MD5: 1f7ab653... Click to view full file
/etc/apache2/mods-available/vhost_alias.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/vhost_alias.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

LoadModule vhost_alias_module /usr/lib/apache2/modules/mod_vhost_alias.so
2 lines β€’ MD5: fdd42d34... Click to view full file
/etc/apache2/mods-available/usertrack.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/usertrack.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

LoadModule usertrack_module /usr/lib/apache2/modules/mod_usertrack.so
2 lines β€’ MD5: 8400042d... Click to view full file
/etc/apache2/mods-available/userdir.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/userdir.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so
2 lines β€’ MD5: c0340254... Click to view full file
/etc/apache2/mods-available/userdir.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/userdir.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

UserDir public_html
UserDir disabled root

<Directory /home/*/public_html>
	AllowOverride FileInfo AuthConfig Limit Indexes
	Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
	Require me…
9 lines β€’ MD5: 20250913... Click to view full file
/etc/apache2/mods-available/unique_id.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/unique_id.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

LoadModule unique_id_module /usr/lib/apache2/modules/mod_unique_id.so
2 lines β€’ MD5: 6c139590... Click to view full file
/etc/apache2/mods-available/suexec.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/suexec.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

LoadModule suexec_module /usr/lib/apache2/modules/mod_suexec.so
2 lines β€’ MD5: 335169c8... Click to view full file
/etc/apache2/mods-available/substitute.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/substitute.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

LoadModule substitute_module /usr/lib/apache2/modules/mod_substitute.so
2 lines β€’ MD5: 50e63dc1... Click to view full file
/etc/apache2/mods-available/status.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/status.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

LoadModule status_module /usr/lib/apache2/modules/mod_status.so
2 lines β€’ MD5: 00976ea5... Click to view full file
/etc/apache2/mods-available/status.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/status.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.

<Location /server…
24 lines β€’ MD5: a2068bd1... Click to view full file
/etc/apache2/mods-available/ssl.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/mods-available/ssl.load

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Depends: setenvif mime socache_shmcb
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
3 lines β€’ MD5: 838b2922... Click to view full file