LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-12-2005, 09:10 AM   #1
adityabhat2
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


aditya
 
Old 02-12-2005, 10:11 AM   #2
secesh
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
Code:
AddHandler cgi-script .cgi .pl
<Directory /somewhere>
  Options +ExecCGI
</Directory
apache 2x, i now use
Code:
AddHandler perl-script .pl
<Directory /somewhere>
    Options +ExecCGI
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
</Directory>
 
Old 02-13-2005, 12:10 PM   #3
adityabhat2
LQ Newbie
 
Registered: Feb 2005
Posts: 12

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


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 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

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

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