aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Aug 03, 2002 9:52 pm Post subject: Re: C interpreter in win or linux |
|
|
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 |
|