Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-19-2003, 07:41 PM   #1
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

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

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

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


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
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:15 AM.

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