Edit configure.apache Custombuild
1
vim /usr/local/directadmin/custombuild/configure/ap2/configure.apache
add this below
1
2
"--disable-cgid"
"--disable-cgi"
compile apache again
1
2
cd /usr/local/directadmin/custombuild/
./build apache
recheck mod_cgi
1
httpd -l
more choice
create .htaccess in folder user
1
2
Options +ExecCGI
AddHandler cgi-script .cgi