As I don’t use CGI often, I have to read confusing Apache documentation and google everytime I configure them. Somehow it looked as a good idea to add ScriptAlias statement to my Apache2 vhost config. However, it didn’t help at all and it broke it down. So now I know: I don’t want to use it normally.
# Following line is BAD BAD, it makes CGI not work!
#ScriptAlias /cgi-bin/ “/Users/peterk/slingshot.mytbwa.com/trunk/cgi-bin”
# Following works nicely
Options FollowSymLinks ExecCGI
AddHandler cgi-script .cgi
Allow from all