采用Apache的,配置http.conf:
1)设置documentRoot "D:/Program Files/Cognos/cer3/webcontent"
2)设置别名cognos
ScriptAlias /cognos8/cgi-bin "d:/cognos/c8/cgi-bin"
<Directory "d:/cognos/c8/cgi-bin">
Options FollowSymLinks
AllowOverride FileInfo
Order Allow,Deny
Allow from All
</Directory>
Alias /cognos8"d:/cognos/c8/webcontent"
<Directory "d:/cognos/c8/webcontent">
Options FollowSymLinks
AllowOverride FileInfo
Order Allow,Deny
Allow from All
</Directory>