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/apache2/mods-available/auth_form.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Depends: session authn_core
LoadModule auth_form_module /usr/lib/apache2/modules/mod_auth_form.so
3 lines β€’ MD5: 731420a7... Click to view full file
/etc/apache2/mods-available/auth_digest.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Depends: authn_core
LoadModule auth_digest_module /usr/lib/apache2/modules/mod_auth_digest.so
3 lines β€’ MD5: f29d047c... Click to view full file
/etc/apache2/mods-available/auth_basic.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Depends: authn_core
LoadModule auth_basic_module /usr/lib/apache2/modules/mod_auth_basic.so
3 lines β€’ MD5: a92c34a3... Click to view full file
/etc/apache2/mods-available/asis.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Depends: mime
LoadModule asis_module /usr/lib/apache2/modules/mod_asis.so
3 lines β€’ MD5: d1003c9f... Click to view full file
/etc/apache2/mods-available/allowmethods.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

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

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

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

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be …
20 lines β€’ MD5: a1632bd9... Click to view full file
/etc/apache2/mods-available/actions.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

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

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# a2enmod-note: needs-configuration

#
# Action lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for …
10 lines β€’ MD5: aa7020be... Click to view full file
/etc/apache2/mods-available/access_compat.load
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Depends: authn_core
LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so
3 lines β€’ MD5: f7f77b3e... Click to view full file
/etc/apache2/conf-available/serve-cgi-bin.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/conf-available/serve-cgi-bin.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

<IfModule mod_alias.c>
	<IfModule mod_cgi.c>
		Define ENABLE_USR_LIB_CGI_BIN
	</IfModule>

	<IfModule mod_cgid.c>
		Define ENABLE_USR_LIB_CGI_BIN
	</IfModule>

	<IfDefine ENABLE_USR_LIB_CGI_BIN>
		Sc…
19 lines β€’ MD5: c146ad61... Click to view full file
/etc/apache2/conf-available/security.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Changing the following options will not really affect the security of the
# server, but might make attacks slightly more difficult in some cases.

#
# ServerTokens
# This directive configures what …
59 lines β€’ MD5: 33266893... Click to view full file
/etc/apache2/conf-available/other-vhosts-access-log.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/conf-available/other-vhosts-access-log.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Define an access log for VirtualHosts that don't define their own logfile
CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
3 lines β€’ MD5: 2cad303f... Click to view full file
/etc/apache2/conf-available/localized-error-pages.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Apache HTTP Server - /etc/apache2/conf-available/localized-error-pages.conf

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Customizable error responses come in three flavors:
# 1) plain text
# 2) local redirects
# 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 40…
80 lines β€’ MD5: f542d267... Click to view full file
/etc/apache2/conf-available/charset.conf
Apache HTTP Server Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

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

πŸ“ Debian 12 (Bookworm)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

# Read the documentation before enabling AddDefaultCharset.
# In general, it is only a good idea if you know that all your files
# have this encoding. It will override any encoding given in the files…
7 lines β€’ MD5: e6fbb8ad... Click to view full file
/etc/logrotate.d/httpd
Apache HTTP Server Red Hat Enterprise Linux 9 (Plow) CentOS Stream 9

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

πŸ“ Red Hat Enterprise Linux 9 (Plow)

πŸ“ CentOS Stream 9

# Note that logs are not compressed unless "compress" is configured,
# which can be done either here or globally in /etc/logrotate.conf.
/var/log/httpd/*log {
    missingok
    notifempty
    shareds…
12 lines β€’ MD5: f48c31ee... Click to view full file
/etc/systemd/httpd@.service
Apache HTTP Server Red Hat Enterprise Linux 9 (Plow) CentOS Stream 9

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

πŸ“ Red Hat Enterprise Linux 9 (Plow)

πŸ“ CentOS Stream 9

# This is a template for httpd instances.
# See httpd@.service(8) for more information.

[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
Documentatio…
27 lines β€’ MD5: 934507a1... Click to view full file
/etc/systemd/httpd.socket
Apache HTTP Server Red Hat Enterprise Linux 9 (Plow) CentOS Stream 9

Apache HTTP Server - /etc/systemd/httpd.socket

πŸ“ Red Hat Enterprise Linux 9 (Plow)

πŸ“ CentOS Stream 9

# See httpd.socket(8) for more information on using the httpd service.

[Unit]
Description=Apache httpd Server Socket
Documentation=man:httpd.socket(8)

[Socket]
ListenStream=80
NoDelay=true
DeferAcc…
14 lines β€’ MD5: 23029a06... Click to view full file
/etc/systemd/httpd.service
Apache HTTP Server Red Hat Enterprise Linux 9 (Plow) CentOS Stream 9

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

πŸ“ Red Hat Enterprise Linux 9 (Plow)

πŸ“ CentOS Stream 9

# See httpd.service(8) for more information on using the httpd service.

# Modifying this file in-place is not recommended, because changes
# will be overwritten during package upgrades.  To customiz…
34 lines β€’ MD5: 091091cb... Click to view full file
/etc/httpd/conf.modules.d/00-systemd.conf
Apache HTTP Server Red Hat Enterprise Linux 9 (Plow) CentOS Stream 9

Apache HTTP Server - /etc/httpd/conf.modules.d/00-systemd.conf

πŸ“ Red Hat Enterprise Linux 9 (Plow)

πŸ“ CentOS Stream 9

# This file configures systemd module:
LoadModule systemd_module modules/mod_systemd.so
3 lines β€’ MD5: fd94264c... Click to view full file