I have no problem to 'use' default cgi-bin directory.
I can not make a specified cgi-bin directory to work, here is what I did:
step (A) to (D).
(A) on the computer:
(B) edit/add to httpd.conf:
ScriptAlias /cgi-bin/ "/www/cgi-bin/"
Allow from all
AddHandler cgi-script .cgi .pl
(C). Restart httpd, and
(D). get this error message on browser:
[an error occurred while processing this directive]
Thanks a lot.
P.S. I wonder that I need uncomment these two lines, because my file is *.shtml
#AddType text/html .shtml
#AddHandler server-parsed .shtml