PDA

View Full Version : CGI configuration IIS 6.0 issue


sanumadan
06-06-2005, 03:40 PM
I successfully executed the search.cgi on my local IIS 5.0 but when I set it up the same way on Windows 2003 server with IIS 6.0, I get the error 404. The website and also Virtual directory have execute permissions for script and I can access search_template.html file through this context. Also, in the website "Configurations", .cgi extension does not show up as you suggest.

I do not have the Perl interpreter on the Windows 2003 machine as it should not be needed. But the articles that I have read so far mention adding cgi to the web server extension in IIS 6.0 so I'm confused how to proceed with this.

Would appreciate help from anyone who has been able to successfully configure Zoom's cgi search on IIS 6.0.

Thanks in advance.

sanumadan
06-06-2005, 04:00 PM
I tried the following and it works..

Open IIS Manager
Choose the Web Server Extensions section and set the "Allow All Unknown CGI Extensions" option to "Allow."

However, it warns that it might be dangerous to allow all cgi so is it OK to go this way??

Thanks....

Ray
06-07-2005, 01:36 AM
Yes, that is OK, that setting would enable similar behaviour to IIS 5.0.

IIS 6.0 introduces a number of security measures by disabling many features by default and providing stricter settings. If you wish to ONLY allow the search.cgi from Zoom to execute (and not other CGIs on your IIS server, you should create a new web service extension for it specifically).

This is documented in our FAQ here:
http://www.wrensoft.com/zoom/support/faq_cgi.html#404
and:
http://www.wrensoft.com/zoom/support/faq_cgi.html#cgi4iis

Edit: I just realized that Microsoft has changed the addresses to their support pages which we refer to regarding this. We'll need to update this page with the new links and more info.