IIS7

aitchon
Posts: 119
Joined: Mon Jan 22, 2007 10:30 am

IIS7

Post by aitchon »

Are there instructions on how to get a site in IIS7 on Server 2008 to run Vortex scripts?
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

IIS7

Post by jason112 »

I do not believe we've tried IIS7, but I expect IIS7 should be able to run CGI programs just like IIS 6 & 5 do.

Is there anything specific you're doing that you're having problems with?
User avatar
John
Site Admin
Posts: 2625
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

IIS7

Post by John »

Would ISAPI be easier, to avoid the setup for CGI, i.e. creating scripts directory, allowing .exe etc?
John Turnbull
Thunderstone Software
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

IIS7

Post by jason112 »

No, the ISAPI setup would be more complex. You'd still be creating its own directory, but instead of allowing exe you'd be applying the ISAPI Extension as a Global Applicatin Mapping, and then it'd still need added to the Web Service Extension list. CGI's definitely easier.

There's also the fact that the ISAPI Extension is our own custom code which, while we don't know of anything that should cause problems, is still code that must interact with an IIS that we haven't tried. CGI is just running a CGI program.
aitchon
Posts: 119
Joined: Mon Jan 22, 2007 10:30 am

IIS7

Post by aitchon »

I'm not sure how to setup the /scripts virtual directory.
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

IIS7

Post by jason112 »

Have you create the scripts directory and given it execute permissions?

It looks like there are some things beyond the creation that need to be done in IIS7 - This site looks to have some good screen-by-screen instructions, except you'll want Request Path to be "*.exe" instead of "*.cgi", and use the full path to your texis.exe in the scripts directory instead of "zoom\search.cgi".

http://www.wrensoft.com/zoom/support/faq_cgi_iis.html
aitchon
Posts: 119
Joined: Mon Jan 22, 2007 10:30 am

IIS7

Post by aitchon »

Thanks! That worked perfectly.
aitchon
Posts: 119
Joined: Mon Jan 22, 2007 10:30 am

IIS7

Post by aitchon »

Well I had it working, but I'm not sure what I did that made it stop working. I now get this error:

Texis was unable to process the requested URL:

http://localhost/scripts/texis.exe/scri ... xe/runtest

I changed the ScriptRoot to where my scripts are located. I even left the default. I assume it's not looking at the correct location of the script. Here's what's in the vortex.log:

002 2008-12-04 16:27:02 /scripts/texis.exe/runtest: Cannot open source file: No such file or directory

Would you know why the PATH_INFO includes '/scripts/texis.exe'?
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

IIS7

Post by jason112 »

aitchon
Posts: 119
Joined: Mon Jan 22, 2007 10:30 am

IIS7

Post by aitchon »