How to disable mod_cgi in directadmin custombuild
Edit configure.apache Custombuild
vim /usr/local/directadmin/custombuild/configure/ap2/configure.apache
add this below
"--disable-cgid" "--disable-cgi"
compile apache again
cd /usr/local/directadmin/custombuild/ ./build apache
recheck mod_cgi
httpd -l
more choice
create .htaccess in folder user
Options +ExecCGI AddHandler cgi-script .cgi
Short link: http://taxze.com/?p=22
Canonical link: http://www.taxze.com/disable-mod_cgi-directadmin/
Leave a Reply “Disable Mod_CGI DirectAdmin”