I'm rapidly approaching stumped.
Using apache2 I've added the requisite magic incantation to my httpd.conf file
ScriptAlias /cgi-bin/ "/Library/WebServer/cgi-bin/"
ScriptAlias /twiki/bin/ "/home/httpd/twiki/bin/"
Alias /twiki/ "/home/httpd/twiki/"
<Directory "/home/httpd/twiki/bin">
Order allow,deny
Allow from all
Options +ExecCGI
SetHandler cgi-script
</Directory>
<Directory "/home/httpd/twiki/pub">
Order allow,deny
Options FollowSymLinks +Includes
AllowOverride None
Allow from all
</Directory>
<Directory "/home/httpd/twiki/data">
deny from all
</Directory>
<Directory "/home/httpd/twiki/templates">
deny from all
</Directory>
And in the error log I find:
[Sun Mar 28 00:03:54 2004] [error] [client 207.224.48.193] (13)Permission denied: access to /twiki/bin/test-cgi denied
In fact, everything is denied - can't see static content in twiki/pub either. All files from twiki down are owned by nobody and all files in the bin dir are executable by anybody. I am able to hit test-cgi in the cgi-bin dir.
What else should I check?