Web Hosting Talk







View Full Version : Disabling cgi


Zack9
08-22-2003, 02:46 PM
hello

is there any way to disable cgi for one account only in a cpanel box?

thanks in advance

andy18
08-22-2003, 04:21 PM
Hi ,

You may disable it when you setup the account in WHM by not check mark the box CGI Access or you will have to edit the httpd.conf file to disable it if you have setup the account.

Zack9
08-22-2003, 04:42 PM
The problem is that i want to disable it for an existed accounts , I tried to add # in front of cgi-bin directory in httpd.conf but it's only disable that directory and the user can run the script out side that cgi-bin..

"Q"
08-22-2003, 06:45 PM
Check your <Directroy> setting. You are looking for ExecCGI. Remove that and it will be disabled.