Solved

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

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Need to get a list of users From AD 13 114
CSS HELP 6 74
excel file 5 53
Batch script to move disabled user accounts to different OU 5 33
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

746 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

7 Experts available now in Live!

Get 1:1 Help Now