Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

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

cand i compile a c code locally on dos mode, change it to .cgi, to be executed on server??
0
eabell
Asked:
eabell
1 Solution
 
WDBCommented:
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
 
jhurstCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now