Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Difficulties with system() call

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Problem accessing Apache from LAN  
Author Message
ojw

External


Since: Aug 26, 2004
Posts: 2



(Msg. 1) Posted: Thu Aug 26, 2004 1:50 pm
Post subject: Difficulties with system() call
Archived from groups: alt>apache>configuration (more info?)

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. Smile

 >> Stay informed about: Difficulties with system() call 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Thu Aug 26, 2004 1:50 pm
Post subject: Re: Difficulties with system() call [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-08-26, Oliver White <ojw DeleteThis @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.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Difficulties with system() call 
Back to top
Login to vote
ojw

External


Since: Aug 26, 2004
Posts: 2



(Msg. 3) Posted: Thu Aug 26, 2004 6:15 pm
Post subject: Re: Difficulties with system() call [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 RemoveThis @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
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Difficulties with system() call 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Call url with only use of partial url - how can i call http://www.domain.com/test and then it would use http://www.domain.com/test.php I dont think it canonical names im looking for? Anyone could help? -- Best Regards Michael

Call for help on configuring Apache for PHP - The requested operation has failed! That's all I get when starting Apache. For years I had Apache installed on my Windows XP Home, in combination with PHP and MySQl.. Twice I installed an update, and that went pretty fast and I had things running well..

Windows crash in openssl call to i2d_X509(). - Hi, I am using Openssl_0.9.7d with Apache 2 mod-ssl on windows. Windows crashed in the call for i2d_X509(). Following is the code snippet in authentication plugin for Apache 2 : X509 *xs = NULL; unsigned char *bytes, *p; .. .. .. xs =..

how to call my domain by not included port number??? (i'm .. - Hi Gurus, i'm a newbie in Apache :) i would like to ask something about domain, for example i have a domain which is http://mydomain.net.info/ and i have open a port for example port 25 in httpd conf. currently i have to call my domain with..

Linking to different folders on system - Hi, I will try and explain the problem as simply as possible: I have Apache installed on C:\ (Win Xp Pro) thus: C:\Apache C:\Apache\htdocs etc... I have different partitions from D:\ to M:\ I have done anything apart from install Apache, not changed....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]