Apache 01-cgi.conf configuration example for CentOS Linux 8

Get the default configuration file 01-cgi.conf for Apache, optimized for CentOS Linux 8. 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
CentOS Linux 8
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/centos8/etc/httpd/conf.modules.d/01-cgi.conf

cURL

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