Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old June 24th, 2001, 01:11 AM
jdk's Avatar
jdk jdk is offline
phpkid ~~~~~~ :o)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Nov 2000
Location: NJ, USA
Posts: 2,535 jdk User rank is Lance Corporal (50 - 100 Reputation Level)jdk User rank is Lance Corporal (50 - 100 Reputation Level)jdk User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 11 m 11 sec
Reputation Power: 10
Send a message via Yahoo to jdk
CGI / C++ probs in Windows.

hi fundoos,

i have the nusphere apache ( http://www.nusphere.com ) for windows installed on my win Me machine..

the cgi scripts written in Perl are working absolutely fine..

but i have made one very simple c++ cgi program. it just prints the content type and the hello world message.

i have compiled it and put the exe in cgi-bin directory. now when i try to run it from browser... browser doesnt show up anything..infect the progress bar keeps on increasing..i can guess its just executing the file for indefinate time...

so i have even put exit at the last statement, i have also checked that program runs properly from console..

just that it shows nothing up when called through browser...

my friend says that c++ cgi program doesnt work on apache for window. i dont think that can be case..

can anyone help me plz ???


its very urgent,
jd
__________________
_____________________________
d.k.jariwala (JD)
~ simple thought, simple act ~
I blog @ http://jdk.phpkid.org

Reply With Quote
  #2  
Old June 30th, 2001, 08:57 AM
wolph wolph is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Sharon, Connecticut, USA
Posts: 6 wolph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CGI / C++ probs in Windows

Does Apache know that .exe files are to be treated as cgi's? Do you have .exe in the cgi-script AddHandler line in httpd.conf? E.g.,

AddHandler cgi-script .cgi .pl .exe

I don't use Apache in Windows, so I am guessing a bit here, but this is what it sounds like.

Have you checked the error_log?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > CGI / C++ probs in Windows.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway