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 11-19-2003, 07:41 PM   #1
jacksmash
Member
 
Registered: Nov 2003
Location: Ontario, Canada
Distribution: Ubuntu
Posts: 269

Rep: Reputation: 30
Trying to run CGI - please help!!


Hi, I'm trying to run a simple perl program. I'm pretty knew at this, but here goes:

I downloaded and installed apache. In my httpd.conf, the scriptalias line reads:

ScriptAlias /cgi-bin/ "/opt/lampp/cgi-bin"

(I don't know if this is correct or not!)

And then I also have:

<Directory "/opt/lampp/cgi-bin">
AllowOverride None
Options +ExecCGI
AddHandler cgi-script cgi pl
Order allow,deny
Allow from all
</Directory>


When I use my browser to run a simple test.pl program, it just displays the code.

Thanks for any help!!
 
Old 11-19-2003, 11:28 PM   #2
halovivek
Member
 
Registered: Aug 2003
Location: india
Distribution: ubuntu
Posts: 36

Rep: Reputation: 15
dear friend,
please go to www.perl.org or perl website there you can find the solution
vivek
 
  


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
Apache 2.0.43 will not run cgi scripts RobbieRoy Linux - Networking 5 09-04-2003 02:56 PM
./picture.cgi won't run.... papageorgio02 Linux - Newbie 4 08-29-2003 07:31 AM
Help CGI won't run under Apache shuttleX Linux - Software 2 06-05-2003 02:37 PM
cant run cgi scripts jmdey Linux - Networking 1 01-07-2002 07:42 AM
Auto Run A Cgi Script f117bomb Linux - General 1 11-25-2001 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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