Apache 01-cgi.conf configuration example for Red Hat Enterprise Linux Server 7 (Maipo)

Get the default configuration file 01-cgi.conf for Apache, optimized for Red Hat Enterprise Linux Server 7 (Maipo). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/httpd/conf.modules.d/01-cgi.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    # This configuration file loads a CGI module appropriate to the MPM
# which has been configured in 00-mpm.conf.  mod_cgid should be used
# with a threaded MPM; mod_cgi with the prefork MPM.

<IfModule mpm_worker_module>
   LoadModule cgid_module modules/mod_cgid.so
</IfModule>
<IfModule mpm_event_module>
   LoadModule cgid_module modules/mod_cgid.so
</IfModule>
<IfModule mpm_prefork_module>
   LoadModule cgi_module modules/mod_cgi.so
</IfModule>


    
  

Config Details

Location
/etc/httpd/conf.modules.d/01-cgi.conf
Operating system
Red Hat Enterprise Linux Server 7 (Maipo)
Length
14 lines
MD5 checksum
36e54d4b2bd190f5cbad876bfbeda461

Usage

Download the raw file with wget or curl

Wget

wget -O 01-cgi.conf.example https://exampleconfig.com/static/raw/apache/rhel7/etc/httpd/conf.modules.d/01-cgi.conf

cURL

curl https://exampleconfig.com/static/raw/apache/rhel7/etc/httpd/conf.modules.d/01-cgi.conf > 01-cgi.conf.example