Linux Notes – Users’ cgi setting
User Directories
To allow CGI program execution for any file ending in .cgi in users’ directories, you can use the following configuration.
Options +ExecCGI
AddHandler cgi-script .cgi
If you wish designate a cgi-bin subdirectory of a user’s directory where everything will be treated as a CGI program, you can use the following.
Options ExecCGI
SetHandler cgi-script
—
http://httpd.apache.org/docs-2.0/howto/cgi.html