C interpreter in win or linux

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
rvijay17
Guest





PostPosted: Sat Aug 03, 2002 4:05 pm    Post subject: C interpreter in win or linux Reply with quote

i used c to write my CGI program. now in linux and in windows, how do set up my interpreter.
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Aug 03, 2002 9:52 pm    Post subject: Re: C interpreter in win or linux Reply with quote

rvijay17 wrote:
i used c to write my CGI program. now in linux and in windows, how do set up my interpreter.

Write your program as you used to do in C. Compile it and put it in one of the virtual paths declared in CGI Paths table. That's all you have to do.

For example, if your CGI program is called test.exe and if you put it in the virtual path /cgi-bin, you'll have to invoke it by accessing the URL http://127.0.0.1/cgi-bin/test.exe .

[ Of course, in Windows, the program must be a regular .exe file compiled as a console Win32 application. For Linux, the program must be an executable (chmod +x) ]
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group