LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2002, 03:51 PM   #1
rsitmsw
LQ Newbie
 
Registered: May 2002
Posts: 3

Rep: Reputation: 0
Question Cgi


I am trying (without much luck!) to setup Apache to allow users to run CGI script in their home directories "public_html/cgi-bin". I have got part of it working as a user can type in "http:/localhost/username/cgi-bin/test.cgi" and it will work correctly. The problem is when I insert the CGI commands into a html page the script does'nt execute. The file I have been testing it with is textclock.cgi. If I use "http:/localhost/username/cgi-bin/textclock.cgi" the clock can be seen working but when I insert the <!--#include virtual="/cgi-bin/textclock.cgi"--> into the html document nothing!

Where am I going wrong! Any help would be appreciated. I know that suexec is running.
 
Old 10-02-2002, 04:19 AM   #2
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
same problem here
 
  


Reply



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
Perl CGI:Can't locate CGI.pm supermyself Programming 13 09-10-2007 06:22 AM
CGI to work out side of cgi-bin? crashedspine Linux - Newbie 13 09-02-2004 08:49 PM
apache v2.0.44 + cgi ; securing cgi-support in apache markus1982 Linux - General 0 01-20-2003 01:03 PM
about CGI... raymond Linux - General 2 11-16-2002 10:32 AM
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 - Newbie

All times are GMT -5. The time now is 08:37 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