LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   configuration of httpd.conf to run apache server (https://www.linuxquestions.org/questions/linux-newbie-8/configuration-of-httpd-conf-to-run-apache-server-289288/)

adityabhat2 02-12-2005 09:10 AM

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

secesh 02-12-2005 10:11 AM

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>


adityabhat2 02-13-2005 12:10 PM

thank u i will try that out


All times are GMT -5. The time now is 12:05 AM.