Bluehost.com Web Hosting $6.95

APACHE 2.0.42 (Win32) Cannot run C++ Scripts

This is a discussion on APACHE 2.0.42 (Win32) Cannot run C++ Scripts within the Windows Web Servers forums, part of the Web Server and Related Forums category; My fellow programmers, I have a problem and hope one of you can help me with it. I have installed ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-30-2004
Will
 
Posts: n/a
Default APACHE 2.0.42 (Win32) Cannot run C++ Scripts

My fellow programmers,

I have a problem and hope one of you can help me with it. I have
installed Apache 2.0.49 on my machine (Win 2000 Pro). After
successfully configuring the server, I was able to successfully
compile and run several Perl and c++ server scripts (stored in the
cgi-bin) folder. However, the problem arises in one of my C++ programs
the uses a big stack array. I'm able to run this very program from the
win command line, but when I try to run it from the cgi-bin, the
program ends "prematurely". I tried to decrease the size of the array,
in which case the program runs ok from the cgi-bin. I think that there
must be an Apache memory limit that prevents the program for running.
I read the Apache documentation and tried to change directives like:

RLimitMEM
RLimitNPROC
RLimitCPU
RLimitMEM
MaxMemFree
MCacheSize

in the httpd file, but I'm getting errors like:

"The Apache service named reported the following error: RLimitMEM not
supported on this platform." ... etc.

Does any one know how to change Apache(Win) settings so that I can run
this script?

Much Obliged
Will
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0