LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-28-2004, 04:30 PM   #1
goldcougar
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
Posting to CGI Forms


I have a Red Hat 9 web server i just setup, but I also need to be able to run CGI form mail scripts on it. When I have a form, ex mysite.com.myform.html, and then submit to mysite.com/cgi-bin/formmail.cgi, it shows the content of formmail.cgi instead of executing it. I have it chmod to 755, and have tried uploading in both Ascii and Binary. If it makes any difference, The formmail.cgi came off of a burned CD from another computer.
 
Old 07-02-2004, 11:13 AM   #2
goldcougar
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Just an update...

I still can't get it to work. Here are my settings in the config file:

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

<Directory "/var/www/html/securepurchasebiz/dna/pa/cgi-bin">
AllowOverride all
Options +ExecCGI
AddHandler cgi-script cgi pl
</Directory>

And here is the URl that loags from that directory:
http://www.secure-purchase.biz/dna/pa/cgi-bin/test.pl

It shows the code, instead of executing. I thought the Options+ExecCGI would take care of that?
 
  


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
Autoresponders & CGI Forms & E-mail Headers Big Brad Linux - Newbie 0 05-25-2004 07:45 AM
CGI Posting Probs... stoney79 Programming 1 04-19-2004 11:16 AM
cgi-bins and fill out forms sachitha Programming 4 03-22-2004 03:44 AM
POSTing to Cgi binaries nodger Programming 1 01-23-2004 10:15 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 07:36 PM.

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