IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 13th, 2004, 06:48 PM
Webfoot Webfoot is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 21 Webfoot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 9 sec
Reputation Power: 0
IIS 6 with CGI --> Web Service Extension

Hello.

I am running a python application under IIS 6.0 which requires that CGI extensions be enabled. Rather than enable all "unknown" CGI extensions I would like to create a specific web service extension for python.

The required path to Python for my web application to work is: C:\python\python.exe %s %s

The issue is that the interface for adding a new web service extension under IIS 6 does not accept the switches...and I have tried many permutations of quotes/single quotes to handle this.

Anyone have a clue?

Reply With Quote
  #2  
Old August 16th, 2004, 09:55 AM
Webfoot Webfoot is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 21 Webfoot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 9 sec
Reputation Power: 0
resolved

This was a really tough tone. I thought I would offer the solution in case anyone else had this problem.

The web service had to be created using a dos shell, the syntax of which is:

iisext /AddFile "path including %s%s" 0 [web service name] 1 [webservice name] 1 [web service name]

good luck

Jeff Hamilton
Webfoot Software Solutions LLC

Quote:
Originally Posted by Webfoot
Hello.

I am running a python application under IIS 6.0 which requires that CGI extensions be enabled. Rather than enable all "unknown" CGI extensions I would like to create a specific web service extension for python.

The required path to Python for my web application to work is: C:\python\python.exe %s %s

The issue is that the interface for adding a new web service extension under IIS 6 does not accept the switches...and I have tried many permutations of quotes/single quotes to handle this.

Anyone have a clue?

Reply With Quote
  #3  
Old August 16th, 2004, 12:17 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,820 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 18 h 54 m 40 sec
Reputation Power: 765
Thanks for posting the solution.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #4  
Old September 22nd, 2005, 03:20 PM
xangelusx xangelusx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: MA, USA
Posts: 64 xangelusx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 41 sec
Reputation Power: 8
Quote:
Originally Posted by Webfoot
This was a really tough tone. I thought I would offer the solution in case anyone else had this problem.

The web service had to be created using a dos shell, the syntax of which is:

iisext /AddFile "path including %s%s" 0 [web service name] 1 [webservice name] 1 [web service name]

good luck

Jeff Hamilton
Webfoot Software Solutions LLC


We just ran in to this today. I'm trying your solution now but when I run it under DOS I get a message saying that WScript can't run the command. If I try to run it from the command prompt it tells me that it can't find iisext. Any thoughts?
__________________
"Once begun, half done." - EP

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS 6 with CGI --> Web Service Extension


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway