Solved

exec cgi doesn't work under IIS 2.0 (WINNT) ?

Posted on 1997-10-02
4
235 Views
Last Modified: 2013-12-25
I am trying to exec a cgi in a winnt server under iis 2.0.
The line "exec cgi .." or "exec script ..." do nothing.
The line "include virtual" only shows rubbish in screen.
Is there any way to do this DIRECTLY and ONLY with cgi?
(no isapi  , please).
Thanks!
0
Comment
Question by:aurelio
  • 2
4 Comments
 
LVL 1

Expert Comment

by:buemoh
ID: 1830720
"exec cgi ..." is a SSI statement and not supported by each httpd server. Why do you need this way to execute a CGI?

Have you proofed the rights, can the CGI be called by the server or is permission denied?!

0
 

Author Comment

by:aurelio
ID: 1830721
Thanks buemoh for your comment ; I need to exec a CGI without
anchors , images or forms , and would like the code to work both
in IIS as in UNIX.
I think some MS pieces , as usual , are (by now) far
away from other OSes. ( Guess I am an Ux fellow ? )
0
 

Author Comment

by:aurelio
ID: 1830722
Adjusted points to 100
0
 
LVL 2

Accepted Solution

by:
dmethvin earned 100 total points
ID: 1830723
The only thing IIS 2.0 supports is server-side includes. It does not support server-side execs. It would technically be possible for someone to write an ISAPI filter that could support this feature. However, with IIS 3.0 out now I don't think anyone has the motivation to do so. I actually searched the Internet about 8 months ago for such a beast and couldn't find it.

IIS 3.0 supports more SSI directives such as EXEC and ECHO. If you can upgrade that would probably be the easiest thing to do.



0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need help to rewrite script 3 62
Need to Modify a Script I found 5 92
Need sample Angular apps for study 4 69
Fixed div within Bootstrap carousel item 11 54
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now