This is a discussion on Difficulties with system() call within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi folks, I am trying to get a CGI program running under Apache on windows, it originally targeted IIS and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi folks,
I am trying to get a CGI program running under Apache on windows, it originally targeted IIS and is written in C++. My problem is that the system("fop.bat ...") call causes an internal server error, whereas a test shows that the windows API call CreateProcess() does not have this problem. Can anyone suggest a configuration setting that might affect the operation of the system() call? Thanks for your help. :-) |
|
|||
|
On 2004-08-26, Oliver White <ojw@iprimus.com.au> wrote:
> I am trying to get a CGI program running under Apache on windows, it > originally targeted IIS and is written in C++. This have nothing to do with Apache, you'd better post this on some windows-programming related groups. Davide -- (1) Alexander the Great was a great general. (2) Great generals are forewarned. (3) Forewarned is forearmed. (4) Four is an even number. (5) Four is certainly an odd number of arms for a man to have. (6) The only number that is both even and odd is infinity. Therefore, Alexander the Great had an infinite number of arms. |
|
|||
|
Well I figure it is related to apache somehow. I'm not too sure, but it
might be that the system() call on windows actually spawns cmd.exe, is there something in the configuration of apache that would prevent this? Davide Bianchi wrote: > On 2004-08-26, Oliver White <ojw@iprimus.com.au> wrote: > >>I am trying to get a CGI program running under Apache on windows, it >>originally targeted IIS and is written in C++. > > > This have nothing to do with Apache, you'd better post this on > some windows-programming related groups. > > Davide > |