How to turn off CGI execution server wide

Most servers owners do not allow there clients to run cgi. We can disable the cgi by using following code in server main Apache configuration file.

Login in to shell as root user and open  httpd.conf file and following line.

Options -ExecCGI

Save file and restart the Apache web server.

About Anant 384 Articles
Senior technical writer