this is default setting
ScriptAlias /cgi-bin "/cgi-bin/"
# "C:/Program Files/Apache Group/Apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "/cgi-bin/">
AllowOverride All
Options ExecCGI
</Directory>
<Directory "/home/admin/www/cgi-bin/">
AllowOverride All
Options ExecCGI
</Directory>