Solved

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

Posted on 1997-10-02
4
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

691 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