how to disable CGI access?

jackc

Verified User
Joined
Jan 19, 2007
Messages
334
With CGI access users can easily view other users files and some server configuration files.
How do I make
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Stop working in .htaccess? Is it possible just to make just
Options +ExecCGI not work?

Thanks
 
Firstly, you should disable mod_perl (perl module) and mod_cgi (cgi module) in /etc/htpd/conf/httpd.conf and disable CGI access in DirectAdmin for all users. After the changes don't forget to restart the apache service.
 
Thanks!
Too bad the jailed cgi is not perfect, allow cgi access is too unsecure.
 
Back
Top