LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 09-05-2006, 01:57 AM   #1
g-mey
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Rep: Reputation: 0
c program cant run in www/cgi-bin


Hello all,

Im new here... I have a problem on gcc... I create a simple c program as below... And copied to /var/www/cgi-bin ...
After I compile and try to run.. there is no result..
But when I copy,compile and run from /var or in root..
It was OK...

Why it cant run in cgi-bin? does it required any security setting?

=============

#include <stdio.h>

main()
{
printf("Hello World\n");
exit(0);
}

=============
 
Old 09-05-2006, 02:46 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed 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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc cant run in www/cgi-bin g-mey Linux - Server 2 09-05-2006 03:27 AM
Start program in daemon mode from cgi-bin Xa! Programming 1 11-30-2004 11:00 PM
why my cgi program in c language can not run? nickhx Programming 9 08-03-2004 04:58 AM
How to run simple CGI program in browser ? amit_28oct Programming 5 03-23-2004 11:43 PM
http://www.burstnet.com/cgi-bin/ads/ad7954a.cgi/3980/RETURN-CODE rverlander LQ Suggestions & Feedback 1 06-07-2002 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration