Solved

Configuring my server to run CGIs.

Posted on 1998-07-23
4
147 Views
Last Modified: 2013-12-25
I have a CGI script to execute my form, but when I submit the form, I get the error '%1 is not a valid Windows NT application'.  I know that this means my server(NT 4.0) is not configured correctly to run CGIs.  My question is, how DO I configure the server to do this?
0
Comment
Question by:khenness
  • 2
4 Comments
 
LVL 6

Expert Comment

by:alamo
ID: 1831144
Are you certain the script .exe is a 32-bit executable?

What kind of script? What application runs the script?

What kind of server, and what version?
0
 

Author Comment

by:khenness
ID: 1831145
Edited text of question
0
 
LVL 7

Accepted Solution

by:
jconde earned 100 total points
ID: 1831146
Hi.

First, as alamo stated, make sure it's a 32 bit application.... (VB5, Delphi 3, C++ Builder, BC 5.0, VC5...all of these compile to 32 bits.)

To configure the server all you need to do is the following:

Start
  Programs
     Microsoft Internet Server (Common)
         Internet Service Manager
            Double Click in WWW (Running)
               Directories Panel
                  - Check if the path where your CGI is, is shown.
                    if not shown, ADD a new directory, and specify the EXECUTE option.
                    else
                    if shown, double click in the path, and specify the EXECUTE option.
         
If you have any more problems, please get back to me!

jconde  
0
 
LVL 6

Expert Comment

by:alamo
ID: 1831147
What kind and version of *web* server?

Normally if the directory isn't mapped for scripts the 501 Not Supported error will come up, not "is a valid executable". But the errors aten't always consistent.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sed question 2 85
Register AutoHotkey 12 72
Control Number of Log Files -Perl 7 72
Remove all hidden metadata properties of MS .Docx Files 7 38
This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to count occurrences of each item in an array.

770 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