Review your favorite Linux distribution.
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 02-12-2005, 09:10 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 12

Rep: Reputation: 0
Unhappy configuration of httpd.conf to run apache server

hi everybody

i am trying to configure apache server for running perl scripts

i checked out many sites and all have said the same thind

1 .change script aliases
2. change add type to run perl scripts

i have changed all these but when i try to run the script from the browser it gives internal server error

pls help i am using red hat 9 enterprise edition

Old 02-12-2005, 10:11 AM   #2
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
what version of apache is this?

apache 1x, i used
AddHandler cgi-script .cgi .pl
<Directory /somewhere>
  Options +ExecCGI
apache 2x, i now use
AddHandler perl-script .pl
<Directory /somewhere>
    Options +ExecCGI
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
Old 02-13-2005, 12:10 PM   #3
LQ Newbie
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
thank u i will try that out


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 httpd.conf ilnli Linux - Software 9 01-11-2005 06:58 AM
Apache httpd.conf help BoardinBum Linux - Software 4 12-29-2004 12:59 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
apache httpd.conf https Hube Linux - Software 7 04-07-2003 08:52 PM
apache httpd.conf plisken Linux - Software 1 02-01-2003 02:01 PM

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