Install A2enmod Fedora

Leave a comment

Installing programs on Fedora Linux through the terminal is a two-step process. First, you must search for the program you want with the search command. Then, once you’ve figured out the name of the app you want to install, you can use the install command to load it up.

Install A2enmod Fedora

Apache Module modcgi/modcgid is responsible for handling of CGI Scripts. For worker and event, multi-threaded MPM uses CGI daemon “modcgid” module. Practical alchemy pdf. This tutorial will help you to how to enable or disable CGI script in Apache 2.4 server on Linux operating systems. Enable CGI Module in ApacheTo enable CGI in your Apache server.

You need to Load module file modcgi.so or modcgid.so in your Apache configuration file.The CentOS, Red Hat, Fedora and other rpm based distributions edit /etc/httpd/conf.modules.d/XX-cgi.conf configuration file and make sure below showing lines are not commented.LoadModule cgidmodule modules/modcgid.soLoadModule cgidmodule modules/modcgid.soLoadModule cgimodule modules/modcgi.soUbuntu, Debian, LinuxMint and other Debian derivatives use the following command to enable CGI module. This command creates a soft link of the module configuration file to /etc/apache2/mod-enabled/ directory. Sudo a2enmod cgiAfter enabling CGI modules in Apache configuration you need to restart Apache service on your system for changes take effect. Disable CGI Module in ApacheWe recommend keeping CGI disabled on your server until its recommended for your server. CGI scripts are used by hackers to attack servers.

This site is not directly affiliated with. Intervideo

Use below options to disable CGI script on your Apache server.CentOS, Red Hat, Fedora and other rpm based distributions rename /etc/httpd/conf.modules.d/XX-cgi.conf configuration file like below. Mv /etc/httpd/conf.modules.d/XX-cgi.conf /etc/httpd/conf.modules.d/XX-cgi.conf.disableUbuntu, Debian, LinuxMint and other Debian derivatives use the following command to disable CGI module.

A2dismod cgiAfter disabling CGI modules you need to restart Apache service on your system for changes take effect.Reference.