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

Original 📋 Red Hat Enterprise Linux 9 (Plow) 19 lines

Works On

Viewing:
Red Hat Enterprise Linux 9 (Plow)
Same on:
CentOS Stream 9
Other versions:

Details

Size
19 lines
MD5
be455107d64e03e0cb1b8221b0f5e932
SHA256
19c514f30cbca9e56820efce311307f0daf7b933d7820e2bb78b605ffa6bc064
/etc/httpd/conf.modules.d/00-optional.conf
#
# This file lists modules included with the Apache HTTP Server
# which are not enabled by default.
# 

#LoadModule asis_module modules/mod_asis.so
#LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so
#LoadModule buffer_module modules/mod_buffer.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule dialup_module modules/mod_dialup.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
#LoadModule reflector_module modules/mod_reflector.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule speling_module modules/mod_speling.so

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/be455107d64e03e0cb1b8221b0f5e932?hint=00-optional.conf
wget:
wget -O 00-optional.conf https://exampleconfig.com/api/v1/config/original/be455107d64e03e0cb1b8221b0f5e932?hint=00-optional.conf

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/be455107d64e03e0cb1b8221b0f5e932?hint=00-optional.conf' /><config><app>Apache HTTP Server</app><os>Red Hat Enterprise Linux 9 (Plow)</os><location>/etc/httpd/conf.modules.d/00-optional.conf</location><lines>19</lines><md5>be455107d64e03e0cb1b8221b0f5e932</md5><sha256>19c514f30cbca9e56820efce311307f0daf7b933d7820e2bb78b605ffa6bc064</sha256></config></prompt>

Paste into Claude, ChatGPT, or any AI assistant.

Install Apache HTTP Server

Alpine Linux

sudo apk add apache2

Debian

sudo apt update && sudo apt install apache2

Red Hat Enterprise Linux

sudo yum install httpd

Ubuntu

sudo apt update && sudo apt install apache2

File Location

File Path
/etc/httpd/conf.modules.d/00-optional.conf
Directory
/etc/httpd/conf.modules.d/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this 00-optional.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/httpd/conf.modules.d/00-optional.conf, replace it, then reload or restart Apache HTTP Server.

Is 00-optional.conf safe for production?

It is the vendor default for Red Hat Enterprise Linux 9 (Plow). 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 Red Hat Enterprise Linux 9 (Plow).

Can I use this for Apache HTTP Server troubleshooting?

Yes. Diff it against yours to find drift, then restore only the sections you need.