LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 04: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, 05:19 AM   #2
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
same problem here
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:22 AM
CGI to work out side of cgi-bin? crashedspine Linux - Newbie 13 09-02-2004 09:49 PM
apache v2.0.44 + cgi ; securing cgi-support in apache markus1982 Linux - General 0 01-20-2003 02:03 PM
about CGI... raymond Linux - General 2 11-16-2002 11:32 AM
http://www.burstnet.com/cgi-bin/ads/ad7954a.cgi/3980/RETURN-CODE rverlander LQ Suggestions & Feedback 1 06-07-2002 08:35 AM


All times are GMT -5. The time now is 02:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration