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 February 9th, 2006, 04:50 PM
fpontiga fpontiga is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Posts: 1 fpontiga User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 43 sec
Reputation Power: 0
Delay of IIS 4.0 when running a cgi application

I am experiencing problems with a cgi application and IIS 4.0, and I would sincerely appreciate any suggestion or help.

The application (mimetex.exe) outputs a gif file to the web browser. I have compiled the application from the source files using the gcc cygnus compiler, and the application works fine since I have tested it from the Windows Command Prompt and I got the expected result.

However, when I try to test the program as a cgi application it takes a long, long time (around one minute) to produce the expected output. I have audited both the access to the cgi application (mimetex.exe) and the cygnus library (cygwinb19.dll). Everything was right: these programs can be accessed by the "Internet Server Anonymous" account and they are loaded into the computer memory. However, the Server's answer is always delayed for about one minute, and during all this time the programs remain as running processes in the computer memory.

I have only been able to get a fast answer from the Server when I changed the Web authentication model from "Anonymous" to "Windows NT Challenge/Response" (I have then to provide username and password) and I run the cgi application from the intranet, that is, using http://localhost/cgi-bin/mimetex.exe

However, when I tried to run the cgi application from the internet, that is, by typing the url into my browser, http://www.mydomain.com/cgi-bin/mimetex.exe, I got the same delay again, even if I was still using the "Windows NT Challenge/Response" Web authentication model.

Thanks in advance for any help.

F. Pontiga

Reply With Quote
  #2  
Old February 10th, 2006, 01:10 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
Perl?

I don't remember much about IIS4, since it's past it's end of life already (IIS4 is coming up on it's 10th birthday, you know). There are things you need to do to set up cgi in IIS4, google may help. The situation changing with different IIS authentication hints at a permissions problem somewhere, changing to NT challenge/response will cause IIS to operate in the user context of the logged on user that accesses the page, leaving in anonymous will cause IIS to operate in the context of the Internet Guest user account.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Delay of IIS 4.0 when running a cgi application


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 1 hosted by Hostway
Stay green...Green IT