Solved

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

Posted on 1998-08-23
2
250 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
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

749 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