Solved

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

Posted on 1997-10-02
4
245 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

828 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