Welcome to the most active Linux Forum on the web.
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 01-24-2005, 10:40 AM   #1
LQ Newbie
Registered: Jan 2005
Location: uk
Distribution: CentOS / Ubuntu
Posts: 22

Rep: Reputation: 15
Apache & CGI error 500

Running Fedora 2, Apache 2.0.49

Sorry - I know this question has been asked / answered 1000's of times but i just cant get it to work!!!

cgi in sure its a problem with my httpd.conf file

(first post wont let me use a url so change the ,)
my full httpd.conf is at www,

i have chmod'ed the test.cgi file to 777
ran 'perl test.cgi' in terminal and it works 100%

just always get '500 internal server error'

been looking for hours but cant find a working script example!!
if somebody can point me to a working script???

many thanks
Old 01-24-2005, 10:54 AM   #2
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
<Directory />
    Options FollowSymLinks
    AllowOverride None

<Directory "/var/www/html">

    Options Indexes FollowSymLinks

    AllowOverride None

    Order allow,deny
    Allow from all

Add option ExecCGI

AddHandler cgi-script .cgi
i like to use
AddHandler cgi-script .cgi .pl

Last edited by secesh; 01-24-2005 at 10:56 AM.
Old 01-24-2005, 11:38 AM   #3
LQ Newbie
Registered: Jan 2005
Location: uk
Distribution: CentOS / Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
thank you!!!!


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 500 Error tzarcone Programming 1 07-01-2005 02:45 AM
RH 8.0 CGI 500 error (apache) 3Dxx Linux - General 46 06-27-2005 05:51 AM
HELP! CGI problem : HTTP 500 - Internal server error eech55 Programming 2 10-11-2004 11:27 AM
apache & cgi scripts maze_fire Linux - Networking 1 08-12-2004 02:58 PM
cgi error in from apache nrmx Linux - Software 1 05-02-2003 07:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:09 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
Open Source Consulting | Domain Registration