To declare the position of cgi-bin
ScriptAlias? /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride? None Options +ExecCGI -MultiViews? +SymLinksIfOwnerMatch? Order allow,deny Allow from all </Directory>
declare qmwiki
calling with ...host/qmwiki
ScriptAlias? /qmwiki /var/www/cgi-bin/qmwiki.cgi
declare the position of the adminwiki dir
more than one wiki is in the directory
call them using ...host/wikiadmin/a_wiki_admin.cgi
ScriptAlias? /wikiadmin/ /var/www/cgi-bin/adminwikis/ <Directory "var/www/cgi-bin/adminwikis"> AllowOverride? All Options ExecCGI -Multiviews +SymlinksIfOwnerMatch? Order allow,deny Allow from all </Directory>