Enderg Posted March 30 Share Posted March 30 (edited) I have cgi programs written by c++ and compiled by Visual Studio (to .cgi file). They work fine on localhost like XAMPP. But when I try them on free servers like byte.host it responds with machine code(or whatever it is). Edited March 30 by Enderg Quote Link to comment Share on other sites More sharing options...
BastelPichi Posted March 30 Share Posted March 30 cgi aint supported on free hosting... (correct me if wrong) Quote Link to comment Share on other sites More sharing options...
Enderg Posted April 1 Author Share Posted April 1 Doesn't having Apache 2 on the server mean it can run cgi scripts? ( I noticed that the server is on Linux but my script was for win, so I made a script for Linux. As a result, that machine code became much smaller and without "This program cannot be run in DOS mode".). Quote Link to comment Share on other sites More sharing options...
Burke Knight Posted April 1 Share Posted April 1 Please sign up and file a support ticket at https://support.ifastnet.com/ Quote Link to comment Share on other sites More sharing options...
BastelPichi Posted April 3 Share Posted April 3 On 4/1/2023 at 8:16 AM, Enderg said: Doesn't having Apache 2 on the server mean it can run cgi scripts? ( I noticed that the server is on Linux but my script was for win, so I made a script for Linux. As a result, that machine code became much smaller and without "This program cannot be run in DOS mode".). You can disable it... Also, cgi is an technology that doesnt get used alot... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.