Solved

DOS-Compiled  C to run as cgi on /cgi-bin server side?

Posted on 1998-08-23
2
255 Views
Last Modified: 2013-12-25
cand i compile a c code locally on dos mode, change it to .cgi, to be executed on server??
0
Comment
Question by:eabell
[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 Comments
 
LVL 2

Accepted Solution

by:
WDB earned 10 total points
ID: 1828264
Yes. I do it all the time. I keep mine an .exe because I'm running on an NT server but I also have .cgi's that I use on other servers that have been compiled in dos mode.
0
 
LVL 8

Expert Comment

by:jhurst
ID: 1828265
The answer is only YES if the server runs an operating system that supports .EXE files.  As was stated, this works with NT but will not work with thew vast majority of ISPs who use some unix derivative.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

731 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